You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/01/14 09:23:44 UTC

[dolphinscheduler] branch 2.0.3-prepare updated: [fix-7712][Docker] support docker-compose 2.X (#7980)

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

caishunfeng pushed a commit to branch 2.0.3-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.3-prepare by this push:
     new 3b30ed7  [fix-7712][Docker] support docker-compose 2.X (#7980)
3b30ed7 is described below

commit 3b30ed7f51df37f6367ad3d177e9d53b21d9cfc0
Author: 飞到死的鸟 <ho...@163.com>
AuthorDate: Fri Jan 14 17:23:30 2022 +0800

    [fix-7712][Docker] support docker-compose 2.X (#7980)
    
    Co-authored-by: HomminLee <li...@ysstech.com>
---
 docker/docker-swarm/config.env.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docker/docker-swarm/config.env.sh b/docker/docker-swarm/config.env.sh
index 3b368f4..de56efd 100755
--- a/docker/docker-swarm/config.env.sh
+++ b/docker/docker-swarm/config.env.sh
@@ -82,7 +82,7 @@ DATAX_HOME=/opt/soft/datax
 #============================================================================
 # Master Server
 #============================================================================
-MASTER_SERVER_OPTS=-Xms1g -Xmx1g -Xmn512m
+MASTER_SERVER_OPTS="-Xms1g -Xmx1g -Xmn512m"
 MASTER_EXEC_THREADS=100
 MASTER_EXEC_TASK_NUM=20
 MASTER_DISPATCH_TASK_NUM=3
@@ -99,7 +99,7 @@ MASTER_PERSIST_EVENT_STATE_THREADS=10
 #============================================================================
 # Worker Server
 #============================================================================
-WORKER_SERVER_OPTS=-Xms1g -Xmx1g -Xmn512m
+WORKER_SERVER_OPTS="-Xms1g -Xmx1g -Xmn512m"
 WORKER_EXEC_THREADS=100
 WORKER_HEARTBEAT_INTERVAL=10
 WORKER_HOST_WEIGHT=100
@@ -112,14 +112,14 @@ ALERT_LISTEN_HOST=dolphinscheduler-alert
 #============================================================================
 # Alert Server
 #============================================================================
-ALERT_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m
+ALERT_SERVER_OPTS="-Xms512m -Xmx512m -Xmn256m"
 
 #============================================================================
 # Api Server
 #============================================================================
-API_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m
+API_SERVER_OPTS="-Xms512m -Xmx512m -Xmn256m"
 
 #============================================================================
 # Logger Server
 #============================================================================
-LOGGER_SERVER_OPTS=-Xms512m -Xmx512m -Xmn256m
+LOGGER_SERVER_OPTS="-Xms512m -Xmx512m -Xmn256m"