diff --git a/charts/nebulous-activemq/templates/deployment.yaml b/charts/nebulous-activemq/templates/deployment.yaml index eacfef3..1843168 100644 --- a/charts/nebulous-activemq/templates/deployment.yaml +++ b/charts/nebulous-activemq/templates/deployment.yaml @@ -42,6 +42,9 @@ spec: - name: activemq containerPort: 61616 protocol: TCP + - name: amqp + containerPort: 5672 + protocol: TCP livenessProbe: tcpSocket: port: activemq diff --git a/charts/nebulous-activemq/templates/service.yaml b/charts/nebulous-activemq/templates/service.yaml index 2ef13fa..4a9651b 100644 --- a/charts/nebulous-activemq/templates/service.yaml +++ b/charts/nebulous-activemq/templates/service.yaml @@ -15,5 +15,9 @@ spec: targetPort: activemq protocol: TCP name: activemq + - port: {{ .Values.service.amqpPort }} + targetPort: amqp + protocol: TCP + name: amqp selector: {{- include "nebulous-activemq.selectorLabels" . | nindent 4 }} diff --git a/charts/nebulous-activemq/values.yaml b/charts/nebulous-activemq/values.yaml index be1955c..f3f06f4 100644 --- a/charts/nebulous-activemq/values.yaml +++ b/charts/nebulous-activemq/values.yaml @@ -40,6 +40,7 @@ service: type: ClusterIP guiPort: 8161 activemqPort: 61616 + amqpPort: 5672 ingress: enabled: false diff --git a/docker/Dockerfile b/docker/Dockerfile index 6c823e0..cff8c99 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,2 +1,4 @@ # Use the official Apache ActiveMQ image FROM docker.io/apache/activemq-classic:5.18.2 + +COPY ./activemq.xml /opt/activemq/conf/activemq.xml diff --git a/docker/activemq.xml b/docker/activemq.xml new file mode 100644 index 0000000..d154ec2 --- /dev/null +++ b/docker/activemq.xml @@ -0,0 +1,145 @@ + + + + + + file:${activemq.conf}/credentials.properties + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +