ludu-cloud/script/docker/docker-compose.yml

161 lines
4.8 KiB
YAML
Raw Permalink Normal View History

2024-09-13 10:44:33 +08:00
version: '3.8'
services:
yudao-gateway:
2024-09-13 10:44:33 +08:00
image: 120.46.37.243:8080/lundu/yudao-gateway:1.0.0
container_name: yudao-gateway
2024-09-13 10:44:33 +08:00
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
restart: always
2024-09-13 10:44:33 +08:00
healthcheck:
test: [ "CMD","curl","-f","http://localhost:48080" ]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
ports:
- "48083:48080"
yudao-system:
2024-09-13 10:44:33 +08:00
image: 120.46.37.243:8080/lundu/yudao-module-system:1.0.0
container_name: yudao-system
2024-09-13 10:44:33 +08:00
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
healthcheck:
test: [ "CMD","curl","-f","http://localhost:48081" ]
interval: 30s
timeout: 10s
retries: 5
2024-09-13 10:44:33 +08:00
start_period: 120s
restart: always
2024-09-13 10:44:33 +08:00
depends_on:
yudao-gateway:
condition: service_healthy
ludu-job-admin:
image: 120.46.37.243:8080/lundu/ludu-job-admin:1.0.0
container_name: ludu-job-admin
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
healthcheck:
2024-09-13 10:44:33 +08:00
test: ["CMD-SHELL", "curl -f http://localhost:9090 || exit 0"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
2024-09-13 10:44:33 +08:00
restart: always
ports:
- "48084:9090"
depends_on:
2024-09-13 10:44:33 +08:00
yudao-gateway:
condition: service_healthy
2024-09-13 10:44:33 +08:00
yudao-infra:
image: 120.46.37.243:8080/lundu/yudao-module-infra:1.0.0
container_name: yudao-infra
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
restart: always
2024-09-13 10:44:33 +08:00
healthcheck:
test: [ "CMD","curl","-f","http://localhost:48082" ]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
depends_on:
2024-09-13 10:44:33 +08:00
yudao-system:
condition: service_healthy
yudao-gateway:
condition: service_healthy
2024-09-13 10:44:33 +08:00
ludu-datacenter:
image: 120.46.37.243:8080/lundu/ludu-module-datacenter:1.0.0
container_name: ludu-datacenter
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
restart: always
2024-09-13 10:44:33 +08:00
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:48092 || exit 0"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
depends_on:
2024-09-13 10:44:33 +08:00
yudao-gateway:
condition: service_healthy
2024-09-13 10:44:33 +08:00
ludu-parking:
image: 120.46.37.243:8080/lundu/ludu-module-parking:1.0.0
container_name: ludu-parking
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
restart: always
2024-09-13 10:44:33 +08:00
healthcheck:
test: [ "CMD","curl","-f","http://localhost:48090" ]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
depends_on:
2024-09-13 10:44:33 +08:00
yudao-system:
condition: service_healthy
yudao-gateway:
condition: service_healthy
2024-09-13 10:44:33 +08:00
ludu-ticketing:
image: 120.46.37.243:8080/lundu/ludu-module-ticketing:1.0.0
container_name: ludu-ticketing
networks:
- ludu_network
environment:
- TZ=Asia/Shanghai # 配置程序默认时区为上海(中国标准时间)
- SW_AGENT_NAME=yudao-gateway
- SW_AGENT_TRACE_IGNORE_PATH=Redisson/PING,/actuator/**,/admin/**
volumes:
- /docker/yudao-cloud/logs:/root/logs/
restart: always
2024-09-13 10:44:33 +08:00
healthcheck:
test: [ "CMD","curl","-f","http://localhost:48088" ]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
depends_on:
2024-09-13 10:44:33 +08:00
yudao-system:
condition: service_healthy
yudao-gateway:
condition: service_healthy
networks:
ludu_network:
driver: bridge