2024-12-18 18:07:22 +08:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
server:
|
|
|
|
|
image: chuanqi-os:latest
|
2025-01-10 16:19:07 +08:00
|
|
|
container_name: chuanqi-server-dev
|
|
|
|
|
cpus: '2'
|
2024-12-18 18:07:22 +08:00
|
|
|
stdin_open: true
|
|
|
|
|
volumes:
|
|
|
|
|
- .:/data/server/s1
|
2025-01-10 16:30:48 +08:00
|
|
|
- ./wch:/etc/yum/wch
|
2024-12-18 18:07:22 +08:00
|
|
|
entrypoint: "/data/server/s1/run.sh"
|
|
|
|
|
network_mode: "host"
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
TZ: Asia/Shanghai
|
2025-01-10 16:19:07 +08:00
|
|
|
logic:
|
|
|
|
|
image: chuanqi-os:latest
|
|
|
|
|
container_name: chuanqi-server-logic
|
|
|
|
|
cpus: '4'
|
2025-01-10 16:30:48 +08:00
|
|
|
cpuset: '13,14,15,16'
|
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
|