2024-12-18 18:07:22 +08:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
|
|
services:
|
2025-02-20 12:11:22 +08:00
|
|
|
db:
|
2025-02-20 15:18:33 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/kubbo/chuanqi-os:latest
|
2025-02-20 12:11:22 +08:00
|
|
|
container_name: chuanqi-server-db
|
2024-12-18 18:07:22 +08:00
|
|
|
stdin_open: true
|
|
|
|
|
volumes:
|
2025-02-20 12:11:22 +08:00
|
|
|
- ./DBServer:/data/server/s1/DBServer
|
2025-01-10 16:30:48 +08:00
|
|
|
- ./wch:/etc/yum/wch
|
2025-02-20 12:11:22 +08:00
|
|
|
entrypoint: "/data/server/s1/DBServer/start.sh"
|
2024-12-18 18:07:22 +08:00
|
|
|
network_mode: "host"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
TZ: Asia/Shanghai
|
2025-02-20 12:11:22 +08:00
|
|
|
|
2025-01-10 16:19:07 +08:00
|
|
|
logic:
|
2025-02-20 15:18:33 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/kubbo/chuanqi-os:latest
|
2025-01-10 16:19:07 +08:00
|
|
|
container_name: chuanqi-server-logic
|
2025-02-20 12:11:22 +08:00
|
|
|
depends_on:
|
|
|
|
|
- db # 等待db服务启动
|
2025-01-10 16:19:07 +08:00
|
|
|
stdin_open: true
|
|
|
|
|
volumes:
|
|
|
|
|
- ./LogicServer:/data/server/s1/LogicServer
|
|
|
|
|
- ./wch:/etc/yum/wch
|
2025-01-10 16:49:05 +08:00
|
|
|
entrypoint: "/data/server/s1/LogicServer/start.sh"
|
2025-01-10 16:19:07 +08:00
|
|
|
network_mode: "host"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
TZ: Asia/Shanghai
|
2025-02-20 12:11:22 +08:00
|
|
|
|
|
|
|
|
gate:
|
2025-02-20 15:18:33 +08:00
|
|
|
image: registry.cn-hangzhou.aliyuncs.com/kubbo/chuanqi-os:latest
|
2025-02-20 12:11:22 +08:00
|
|
|
container_name: chuanqi-server-gate
|
|
|
|
|
depends_on:
|
|
|
|
|
- logic # 等待logic服务启动
|
|
|
|
|
stdin_open: true
|
|
|
|
|
volumes:
|
2025-02-20 15:28:50 +08:00
|
|
|
- ./Gateway:/data/server/s1/Gateway
|
2025-02-20 12:11:22 +08:00
|
|
|
- ./wch:/etc/yum/wch
|
2025-02-20 15:28:50 +08:00
|
|
|
entrypoint: "/data/server/s1/Gateway/start.sh"
|
2025-02-20 12:11:22 +08:00
|
|
|
network_mode: "host"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
TZ: Asia/Shanghai
|