This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new d4e202d22 [AMQ-9306] Make the WebConsole accessible from outside the
container
new e59ff1908 Merge pull request #1049 from
essobedo/AMQ-9306/make-webconsole-accessible-from-host
d4e202d22 is described below
commit d4e202d229a7bc7ad7628a137a2c364b8a1672c3
Author: Nicolas Filotto <[email protected]>
AuthorDate: Thu Sep 7 12:20:06 2023 +0200
[AMQ-9306] Make the WebConsole accessible from outside the container
---
assembly/src/docker/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/assembly/src/docker/Dockerfile b/assembly/src/docker/Dockerfile
index 95338a203..20041910f 100644
--- a/assembly/src/docker/Dockerfile
+++ b/assembly/src/docker/Dockerfile
@@ -23,6 +23,8 @@ ENV ACTIVEMQ_INSTALL_PATH /opt
ENV ACTIVEMQ_HOME $ACTIVEMQ_INSTALL_PATH/apache-activemq
ENV ACTIVEMQ_EXEC exec
ENV PATH $PATH:$ACTIVEMQ_HOME/bin
+# Make the Web console accesible from outside the container
+ENV ACTIVEMQ_OPTS $ACTIVEMQ_OPTS -Djetty.host=0.0.0.0
#WORKDIR $ACTIVEMQ_HOME
# activemq_dist can point to a directory or a tarball on the local system