1 Star 0 Fork 65

geogerytony/cloudin-datax

forked from 小飞狗/cloudin-datax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 2.01 KB
一键复制 编辑 原始数据 按行查看 历史
version: '3.9'
services:
arrange-service1:
environment:
- server_id=arrange-service1:9671
- server_cluster=arrange-service1:9671,arrange-service2:9671
- data_path=${data_path}
- spring.profiles.active=${profiles}
- mysql_host=${mysql_host}
- eureka_server=${eureka_server}
container_name: arrange-service1
hostname: arrange-service1
build: ./arrange
ports:
- 18801:8801
- 19671:9671
volumes:
- ${data_path}/n1:/logs/data
arrange-service2:
environment:
- server_id=arrange-service2:9671
- server_cluster=arrange-service1:9671,arrange-service2:9671
- data_path=${data_path}
- spring.profiles.active=${profiles}
- mysql_host=${mysql_host}
- eureka_server=${eureka_server}
container_name: arrange-service2
hostname: arrange-service2
build: ./arrange
ports:
- 18802:8801
- 19672:9671
volumes:
- ${data_path}/n2:/logs/data
datax-service1:
environment:
- spring.profiles.active=${profiles}
- eureka_server=${eureka_server}
container_name: datax-service1
hostname: datax-service1
build: ./datax
ports:
- 18901:8901
datax-service2:
environment:
- spring.profiles.active=${profiles}
- eureka_server=${eureka_server}
container_name: datax-service2
hostname: datax-service2
build: ./datax
ports:
- 18902:8901
eureka-service1:
environment:
- host_name=eureka-service1
- eureka_zone=http://eureka-service2:8671/eureka/
- spring.profiles.active=${profiles}
container_name: eureka-service1
hostname: eureka-service1
build: ./eureka
ports:
- 18671:8671
eureka-service2:
environment:
- host_name=eureka-service2
- eureka_zone=http://eureka-service1:8671/eureka/
- spring.profiles.active=${profiles}
container_name: eureka-service2
hostname: eureka-service2
build: ./eureka
ports:
- 18672:8671
networks:
default:
external:
name: cloudin
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/419338200/datax-integration.git
git@gitee.com:419338200/datax-integration.git
419338200
datax-integration
cloudin-datax
master

搜索帮助