refactor(dev): 调整开发环境配置

- 修改 GateWay 配置文件中的后台服务器端口
- 更新 Docker Compose 文件,增加 Logic 服务并调整相关配置
This commit is contained in:
aixianling
2025-01-10 16:19:07 +08:00
parent 6882a90654
commit d91c3d8d8a
2 changed files with 17 additions and 7 deletions

View File

@@ -3,17 +3,27 @@ version: '3.8'
services:
server:
image: chuanqi-os:latest
container_name: chuanqi-server-s1
cpus: '0.5'
container_name: chuanqi-server-dev
cpus: '2'
stdin_open: true
volumes:
- .:/data/server/s1
- ./wch:/etc/yum/wch
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