This is an automated email from the ASF dual-hosted git repository.

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 97f39ec169 ARTEMIS-5259 don't expose port 9404 in Docker
97f39ec169 is described below

commit 97f39ec1692e594ee7d9ecf3a5b71c37dd43f3b8
Author: Justin Bertram <[email protected]>
AuthorDate: Thu Jan 23 10:53:35 2025 -0600

    ARTEMIS-5259 don't expose port 9404 in Docker
    
    Port 9404 is exposed in all the Docker files. This port is for the
    Prometheus JMX Exporter which we have never used. We recommend folks
    use the Prometheus metrics plugin instead which is available on the
    normal HTTP port (i.e. 8161).
---
 artemis-docker/Dockerfile-alpine-21     | 7 +++----
 artemis-docker/Dockerfile-alpine-21-jre | 7 +++----
 artemis-docker/Dockerfile-ubuntu-21     | 7 +++----
 artemis-docker/Dockerfile-ubuntu-21-jre | 7 +++----
 4 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/artemis-docker/Dockerfile-alpine-21 
b/artemis-docker/Dockerfile-alpine-21
index 105b4c9b2c..758b97d150 100644
--- a/artemis-docker/Dockerfile-alpine-21
+++ b/artemis-docker/Dockerfile-alpine-21
@@ -39,10 +39,9 @@ USER artemis
 
 ADD . /opt/activemq-artemis
 
-# Web Server
-EXPOSE 8161 \
-# JMX Exporter
-    9404 \
+EXPOSE \
+# Port for HTTP
+    8161 \
 # Port for CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE
     61616 \
 # Port for HORNETQ,STOMP
diff --git a/artemis-docker/Dockerfile-alpine-21-jre 
b/artemis-docker/Dockerfile-alpine-21-jre
index 9ccd1844a9..b1910761ec 100644
--- a/artemis-docker/Dockerfile-alpine-21-jre
+++ b/artemis-docker/Dockerfile-alpine-21-jre
@@ -39,10 +39,9 @@ USER artemis
 
 ADD . /opt/activemq-artemis
 
-# Web Server
-EXPOSE 8161 \
-# JMX Exporter
-    9404 \
+EXPOSE \
+# Port for HTTP
+    8161 \
 # Port for CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE
     61616 \
 # Port for HORNETQ,STOMP
diff --git a/artemis-docker/Dockerfile-ubuntu-21 
b/artemis-docker/Dockerfile-ubuntu-21
index 862621b0c6..82432014e8 100644
--- a/artemis-docker/Dockerfile-ubuntu-21
+++ b/artemis-docker/Dockerfile-ubuntu-21
@@ -42,10 +42,9 @@ USER artemis
 
 ADD . /opt/activemq-artemis
 
-# Web Server
-EXPOSE 8161 \
-# JMX Exporter
-    9404 \
+EXPOSE \
+# Port for HTTP
+    8161 \
 # Port for CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE
     61616 \
 # Port for HORNETQ,STOMP
diff --git a/artemis-docker/Dockerfile-ubuntu-21-jre 
b/artemis-docker/Dockerfile-ubuntu-21-jre
index cf9ff87da9..a46b62cb53 100644
--- a/artemis-docker/Dockerfile-ubuntu-21-jre
+++ b/artemis-docker/Dockerfile-ubuntu-21-jre
@@ -42,10 +42,9 @@ USER artemis
 
 ADD . /opt/activemq-artemis
 
-# Web Server
-EXPOSE 8161 \
-# JMX Exporter
-    9404 \
+EXPOSE \
+# Port for HTTP
+    8161 \
 # Port for CORE,MQTT,AMQP,HORNETQ,STOMP,OPENWIRE
     61616 \
 # Port for HORNETQ,STOMP


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to