docker/datax-web/docker-compose.yml
2022-04-18 11:21:20 +08:00

27 lines
712 B
YAML

version: "3.7"
services:
datax-web:
image: harbor.colben.cn/general/datax-web
container_name: datax-web
command: /opt/ccmd
restart: on-failure
privileged: true
stop_grace_period: 1m
network_mode: "host"
ports:
- "9527:9527"
environment:
_CONF_DB_HOST: 10.0.4.115
_CONF_DB_PORT: 3336
_CONF_DB_USERNAME: admin
_CONF_DB_PASSWORD: 123456
_CONF_DB_DATABASE: datax_web
volumes:
- type: bind
source: ./data-admin.console.out
target: /opt/datax-web-2.1.2/modules/datax-admin/bin/console.out
- type: bind
source: ./executor-console.out
target: /opt/datax-web-2.1.2/modules/datax-datax-executor/bin/console.out