Files
chuanqi-server/docker-compose.yml
aixianling 72f9b89fae refactor(docker): 移除 MySQL 容器的 command 属性
移除了 docker-compose.yml 文件中 MySQL 容器的 command 属性:
- /data/run.sh

这个改动可能是为了简化配置文件结构,或者因为该命令不再需要。
2024-12-13 17:24:46 +08:00

18 lines
393 B
YAML

version: '3.8'
services:
server:
image: centos:centos7.9.2009
container_name: chuanqi-server
stdin_open: true
volumes:
- ./server:/data/server
- ./run.sh:/data/run.sh
- ./stop.sh:/data/stop.sh
- ./wch:/etc/yum/wch
- /usr/lib64/mysql:/usr/lib64/mysql
network_mode: "host"
restart: unless-stopped
environment:
TZ: Asia/Shanghai