mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 11:17:54 +08:00
[Improvement][Docker] Add DOLPHINSCHEDULER_OPTS for docker compose/swarm
This commit is contained in:
parent
4cab4095e9
commit
da6e1500cb
@ -58,6 +58,7 @@ services:
|
||||
- 12345:12345
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -95,6 +96,7 @@ services:
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
ALERT_PLUGIN_DIR: lib/plugin/alert
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -133,6 +135,7 @@ services:
|
||||
MASTER_MAX_CPULOAD_AVG: "100"
|
||||
MASTER_RESERVED_MEMORY: "0.1"
|
||||
DOLPHINSCHEDULER_DATA_BASEDIR_PATH: /tmp/dolphinscheduler
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms1g -Xmx1g -Xmn512m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -172,6 +175,7 @@ services:
|
||||
WORKER_RESERVED_MEMORY: "0.1"
|
||||
WORKER_GROUPS: "default"
|
||||
WORKER_WEIGHT: "100"
|
||||
ALERT_LISTEN_HOST: dolphinscheduler-alert
|
||||
HADOOP_HOME: "/opt/soft/hadoop"
|
||||
HADOOP_CONF_DIR: "/opt/soft/hadoop/etc/hadoop"
|
||||
SPARK_HOME1: "/opt/soft/spark1"
|
||||
@ -182,7 +186,7 @@ services:
|
||||
FLINK_HOME: "/opt/soft/flink"
|
||||
DATAX_HOME: "/opt/soft/datax/bin/datax.py"
|
||||
DOLPHINSCHEDULER_DATA_BASEDIR_PATH: /tmp/dolphinscheduler
|
||||
ALERT_LISTEN_HOST: dolphinscheduler-alert
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms1g -Xmx1g -Xmn512m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
|
@ -58,6 +58,7 @@ services:
|
||||
- 12345:12345
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -92,6 +93,7 @@ services:
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
ALERT_PLUGIN_DIR: lib/plugin/alert
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms512m -Xmx512m -Xmn256m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -129,6 +131,7 @@ services:
|
||||
MASTER_MAX_CPULOAD_AVG: "100"
|
||||
MASTER_RESERVED_MEMORY: "0.1"
|
||||
DOLPHINSCHEDULER_DATA_BASEDIR_PATH: /tmp/dolphinscheduler
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms1g -Xmx1g -Xmn512m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
@ -166,6 +169,7 @@ services:
|
||||
WORKER_RESERVED_MEMORY: "0.1"
|
||||
WORKER_GROUPS: "default"
|
||||
WORKER_WEIGHT: "100"
|
||||
ALERT_LISTEN_HOST: dolphinscheduler-alert
|
||||
HADOOP_HOME: "/opt/soft/hadoop"
|
||||
HADOOP_CONF_DIR: "/opt/soft/hadoop/etc/hadoop"
|
||||
SPARK_HOME1: "/opt/soft/spark1"
|
||||
@ -176,7 +180,7 @@ services:
|
||||
FLINK_HOME: "/opt/soft/flink"
|
||||
DATAX_HOME: "/opt/soft/datax/bin/datax.py"
|
||||
DOLPHINSCHEDULER_DATA_BASEDIR_PATH: /tmp/dolphinscheduler
|
||||
ALERT_LISTEN_HOST: dolphinscheduler-alert
|
||||
DOLPHINSCHEDULER_OPTS: "-Xms1g -Xmx1g -Xmn512m"
|
||||
DATABASE_TYPE: postgresql
|
||||
DATABASE_DRIVER: org.postgresql.Driver
|
||||
DATABASE_HOST: dolphinscheduler-postgresql
|
||||
|
Loading…
Reference in New Issue
Block a user