You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2021/08/02 02:15:54 UTC

[incubator-inlong] branch master updated: [INLONG-1415][TubeMQ] Docker image expose zookeeper port for other component usages (#1416)

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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c2b869  [INLONG-1415][TubeMQ] Docker image expose zookeeper port for other component usages (#1416)
6c2b869 is described below

commit 6c2b8699fa610b63521c2db43608a5e7d6118cf7
Author: dockerzhang <do...@apache.org>
AuthorDate: Mon Aug 2 10:15:48 2021 +0800

    [INLONG-1415][TubeMQ] Docker image expose zookeeper port for other component usages (#1416)
    
    Co-authored-by: dockerzhang <do...@tencent.com>
---
 inlong-tubemq/tubemq-docker/tubemq-all/Dockerfile | 2 ++
 inlong-tubemq/tubemq-docker/tubemq-all/README.md  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/inlong-tubemq/tubemq-docker/tubemq-all/Dockerfile b/inlong-tubemq/tubemq-docker/tubemq-all/Dockerfile
index 5d3aee1..43315cd 100644
--- a/inlong-tubemq/tubemq-docker/tubemq-all/Dockerfile
+++ b/inlong-tubemq/tubemq-docker/tubemq-all/Dockerfile
@@ -34,4 +34,6 @@ WORKDIR /opt/tubemq-server/
 EXPOSE 8715 8080 9001
 # broker port
 EXPOSE 8123 8081
+# zookkeeper port
+EXPOSE 2181
 CMD ["/opt/tubemq-server/bin/tubemq-docker.sh"]
\ No newline at end of file
diff --git a/inlong-tubemq/tubemq-docker/tubemq-all/README.md b/inlong-tubemq/tubemq-docker/tubemq-all/README.md
index c40b3e1..80fa631 100644
--- a/inlong-tubemq/tubemq-docker/tubemq-all/README.md
+++ b/inlong-tubemq/tubemq-docker/tubemq-all/README.md
@@ -8,7 +8,7 @@ docker pull inlong/tubemq-all:latest
 
 ##### Start Standalone Container
 ```
-docker run -p 8080:8080 -p 8715:8715 -p 8123:8123 --name tubemq -d inlong/tubemq-all:latest
+docker run -p 8080:8080 -p 8715:8715 -p 8123:8123 2181:2181 --name tubemq -d inlong/tubemq-all:latest
 ```
 this command will start zookeeper/master/broker service in one container.
 #### Add Topic