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 2022/10/31 10:48:35 UTC

[inlong] branch master updated: [INLONG-6339][Docker] Add a global variable to define the InLong version (#6340)

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/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new a9279bb28 [INLONG-6339][Docker] Add a global variable to define the InLong version (#6340)
a9279bb28 is described below

commit a9279bb2897b0109dff76d5f68c9cccbe6c70e7e
Author: Charles Zhang <do...@apache.org>
AuthorDate: Mon Oct 31 18:48:28 2022 +0800

    [INLONG-6339][Docker] Add a global variable to define the InLong version (#6340)
---
 docker/docker-compose/.env               | 19 +++++++++++++++++++
 docker/docker-compose/docker-compose.yml | 10 +++++-----
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/docker/docker-compose/.env b/docker/docker-compose/.env
new file mode 100644
index 000000000..17ff3afa1
--- /dev/null
+++ b/docker/docker-compose/.env
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# you can choose the released version number, like 1.3.0
+# the latest tag corresponds to the master branch
+VERSION_TAG=latest
diff --git a/docker/docker-compose/docker-compose.yml b/docker/docker-compose/docker-compose.yml
index 023a96f02..8cce345f2 100644
--- a/docker/docker-compose/docker-compose.yml
+++ b/docker/docker-compose/docker-compose.yml
@@ -43,7 +43,7 @@ services:
     command: bin/pulsar standalone
 
   manager:
-    image: inlong/manager:latest
+    image: inlong/manager:${VERSION_TAG}
     container_name: manager
     depends_on:
       mysql:
@@ -60,7 +60,7 @@ services:
       - AUDIT_PROXY_URL=audit:10081
 
   webisite:
-    image: inlong/dashboard:latest
+    image: inlong/dashboard:${VERSION_TAG}
     container_name: dashboard
     depends_on:
       - manager
@@ -70,7 +70,7 @@ services:
       - MANAGER_API_ADDRESS=manager:8083
 
   dataproxy:
-    image: inlong/dataproxy:latest
+    image: inlong/dataproxy:${VERSION_TAG}
     container_name: dataproxy
     depends_on:
       - manager
@@ -84,7 +84,7 @@ services:
       - MQ_TYPE=pulsar
 
   agent:
-    image: inlong/agent:latest
+    image: inlong/agent:${VERSION_TAG}
     container_name: agent
     depends_on:
       - manager
@@ -101,7 +101,7 @@ services:
       - ./collect-data:/data/collect-data
 
   audit:
-    image: inlong/audit:latest
+    image: inlong/audit:${VERSION_TAG}
     container_name: audit
     depends_on:
       mysql: