@ -28,10 +28,10 @@ services:
POSTGRESQL_USERNAME : root
POSTGRESQL_USERNAME : root
POSTGRESQL_PASSWORD : root
POSTGRESQL_PASSWORD : root
POSTGRESQL_DATABASE : dolphinscheduler
POSTGRESQL_DATABASE : dolphinscheduler
POSTGRESQL_REPLICATION_PASSWORD : dolphinscheduler@123
volumes:
volumes:
- dolphinscheduler-postgresql:/bitnami/postgresql
- dolphinscheduler-postgresql:/bitnami/postgresql
- dolphinscheduler-postgresql-initdb:/docker-entrypoint-initdb.d
- dolphinscheduler-postgresql-initdb:/docker-entrypoint-initdb.d
restart : unless-stopped
networks:
networks:
- dolphinscheduler
- dolphinscheduler
@ -46,13 +46,14 @@ services:
ZOO_4LW_COMMANDS_WHITELIST : srvr,ruok,wchs,cons
ZOO_4LW_COMMANDS_WHITELIST : srvr,ruok,wchs,cons
volumes:
volumes:
- dolphinscheduler-zookeeper:/bitnami/zookeeper
- dolphinscheduler-zookeeper:/bitnami/zookeeper
restart : unless-stopped
networks:
networks:
- dolphinscheduler
- dolphinscheduler
dolphinscheduler-api:
dolphinscheduler-api:
image : apache/dolphinscheduler:latest
image : apache/dolphinscheduler:latest
container_name : dolphinscheduler-api
container_name : dolphinscheduler-api
command : [ " api-server" ]
command : api-server
ports:
ports:
- 12345 : 12345
- 12345 : 12345
environment:
environment:
@ -63,9 +64,9 @@ services:
DATABASE_PASSWORD : root
DATABASE_PASSWORD : root
DATABASE_DATABASE : dolphinscheduler
DATABASE_DATABASE : dolphinscheduler
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_ROOT : /dolphinscheduler
RESOURCE_STORAGE_TYPE : HDFS
DOLPHINSCHEDULER_RESOURCE_STORAGE_TYPE : "HDFS"
RESOURCE_UPLOAD_PATH : /dolphinscheduler
DOLPHINSCHEDULER_ FS_DEFAULTFS: "file:///data/dolphinscheduler"
FS_DEFAULT_ FS : file:///
healthcheck:
healthcheck:
test : [ "CMD" , "/root/checkpoint.sh" , "ApiApplicationServer" ]
test : [ "CMD" , "/root/checkpoint.sh" , "ApiApplicationServer" ]
interval : 30s
interval : 30s
@ -77,14 +78,15 @@ services:
- dolphinscheduler-zookeeper
- dolphinscheduler-zookeeper
volumes:
volumes:
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
- dolphinscheduler-resource-storage-local:/dolphinscheduler
- dolphinscheduler-resource-local:/dolphinscheduler
restart : unless-stopped
networks:
networks:
- dolphinscheduler
- dolphinscheduler
dolphinscheduler-alert:
dolphinscheduler-alert:
image : apache/dolphinscheduler:latest
image : apache/dolphinscheduler:latest
container_name : dolphinscheduler-alert
container_name : dolphinscheduler-alert
command : [ " alert-server" ]
command : alert-server
environment:
environment:
TZ : Asia/Shanghai
TZ : Asia/Shanghai
XLS_FILE_PATH : "/tmp/xls"
XLS_FILE_PATH : "/tmp/xls"
@ -116,13 +118,14 @@ services:
- dolphinscheduler-postgresql
- dolphinscheduler-postgresql
volumes:
volumes:
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
restart : unless-stopped
networks:
networks:
- dolphinscheduler
- dolphinscheduler
dolphinscheduler-master:
dolphinscheduler-master:
image : apache/dolphinscheduler:latest
image : apache/dolphinscheduler:latest
container_name : dolphinscheduler-master
container_name : dolphinscheduler-master
command : [ " master-server" ]
command : master-server
ports:
ports:
- 5678 : 5678
- 5678 : 5678
environment:
environment:
@ -140,7 +143,6 @@ services:
DATABASE_PASSWORD : root
DATABASE_PASSWORD : root
DATABASE_DATABASE : dolphinscheduler
DATABASE_DATABASE : dolphinscheduler
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_ROOT : /dolphinscheduler
healthcheck:
healthcheck:
test : [ "CMD" , "/root/checkpoint.sh" , "MasterServer" ]
test : [ "CMD" , "/root/checkpoint.sh" , "MasterServer" ]
interval : 30s
interval : 30s
@ -152,13 +154,14 @@ services:
- dolphinscheduler-zookeeper
- dolphinscheduler-zookeeper
volumes:
volumes:
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
restart : unless-stopped
networks:
networks:
- dolphinscheduler
- dolphinscheduler
dolphinscheduler-worker:
dolphinscheduler-worker:
image : apache/dolphinscheduler:latest
image : apache/dolphinscheduler:latest
container_name : dolphinscheduler-worker
container_name : dolphinscheduler-worker
command : [ " worker-server" ]
command : worker-server
ports:
ports:
- 1234 : 1234
- 1234 : 1234
- 50051 : 50051
- 50051 : 50051
@ -170,16 +173,11 @@ services:
WORKER_MAX_CPULOAD_AVG : "100"
WORKER_MAX_CPULOAD_AVG : "100"
WORKER_RESERVED_MEMORY : "0.1"
WORKER_RESERVED_MEMORY : "0.1"
WORKER_GROUP : "default"
WORKER_GROUP : "default"
DOLPHINSCHEDULER_DATA_BASEDIR_PATH : "/tmp/dolphinscheduler"
DOLPHINSCHEDULER_DATA_BASEDIR_PATH : /tmp/dolphinscheduler
DATABASE_HOST : dolphinscheduler-postgresql
DATABASE_PORT : 5432
DATABASE_USERNAME : root
DATABASE_PASSWORD : root
DATABASE_DATABASE : dolphinscheduler
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_QUORUM : dolphinscheduler-zookeeper:2181
ZOOKEEPER_ROOT : /dolphinscheduler
RESOURCE_STORAGE_TYPE : HDFS
DOLPHINSCHEDULER_RESOURCE_STORAGE_TYPE : "HDFS"
RESOURCE_UPLOAD_PATH : /dolphinscheduler
DOLPHINSCHEDULER_ FS_DEFAULTFS: "file:///data/dolphinscheduler"
FS_DEFAULT_FS : file:///
healthcheck:
healthcheck:
test : [ "CMD" , "/root/checkpoint.sh" , "WorkerServer" ]
test : [ "CMD" , "/root/checkpoint.sh" , "WorkerServer" ]
interval : 30s
interval : 30s
@ -190,18 +188,11 @@ services:
- dolphinscheduler-postgresql
- dolphinscheduler-postgresql
- dolphinscheduler-zookeeper
- dolphinscheduler-zookeeper
volumes:
volumes:
- type : bind
- ./dolphinscheduler_env.sh:/opt/dolphinscheduler/conf/env/dolphinscheduler_env.sh
source : ./dolphinscheduler_env.sh
- dolphinscheduler-worker-data:/tmp/dolphinscheduler
target : /opt/dolphinscheduler/conf/env/dolphinscheduler_env.sh
- dolphinscheduler-logs:/opt/dolphinscheduler/logs
- type : volume
- dolphinscheduler-resource-local:/dolphinscheduler
source : dolphinscheduler-worker-data
restart : unless-stopped
target : /tmp/dolphinscheduler
- type : volume
source : dolphinscheduler-logs
target : /opt/dolphinscheduler/logs
- type : volume
source : dolphinscheduler-resource-storage-local
target : /dolphinscheduler
networks:
networks:
- dolphinscheduler
- dolphinscheduler
@ -215,8 +206,4 @@ volumes:
dolphinscheduler-zookeeper:
dolphinscheduler-zookeeper:
dolphinscheduler-worker-data:
dolphinscheduler-worker-data:
dolphinscheduler-logs:
dolphinscheduler-logs:
dolphinscheduler-resource-storage-local:
dolphinscheduler-resource-local:
configs:
dolphinscheduler-worker-task-env:
file : ./dolphinscheduler_env.sh