30 lines
684 B
YAML
30 lines
684 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
server:
|
|
image: chuanqi-os:latest
|
|
container_name: chuanqi-server-dev
|
|
cpus: '2'
|
|
stdin_open: true
|
|
volumes:
|
|
- .:/data/server/s1
|
|
entrypoint: "/data/server/s1/run.sh"
|
|
network_mode: "host"
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: Asia/Shanghai
|
|
logic:
|
|
image: chuanqi-os:latest
|
|
container_name: chuanqi-server-logic
|
|
cpus: '4'
|
|
cpuset: '13-16'
|
|
stdin_open: true
|
|
volumes:
|
|
- ./LogicServer:/data/server/s1/LogicServer
|
|
- ./wch:/etc/yum/wch
|
|
entrypoint: "/data/server/s1/LogicServer/run.sh"
|
|
network_mode: "host"
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: Asia/Shanghai
|