传奇小分队一刀999,Docker Compose 部署轻松搞定,数据持久化,重启无忧。
```yamlversion: '3.8'
services:
chuanqi:
image: registry.cn-hangzhou.aliyuncs.com/guoshiyin/game:chuanqi
container_name: chuanqi
network_mode: host
stdin_open: true
tty: true
restart: always
volumes:
- ./.vimrc:/root/.vimrc
- ./mysql/data:/www/server/data
- ./config/cross_CrossSourceServer.config:/data/yfbx_server/cross/LogicServer/data/config/Cross/CrossSourceServer.config
- ./config/s1_CrossSourceServer.config:/data/yfbx_server/s1/LogicServer/data/config/Cross/CrossSourceServer.config
- ./config/index.js:/www/wwwroot/web/js/index.js
- ./config/config.php:/www/wwwroot/web/config.php
- ./config/ios_old.html:/www/wwwroot/web/ios_old.html
- ./config/site.php:/www/wwwroot/admin/application/extra/site.php
- ./ip.sh:/root/ip.sh
- ./172.16.90.180.conf:/www/server/panel/vhost/nginx/172.16.90.180.conf
- ./start.sh:/root/start.sh# 挂载本地 start.sh 脚本到容器中
command: ["sh", "-c", "chmod +x /root/start.sh && /root/start.sh && tail -f /dev/null"]# 让 a.sh 可执行并运行
试玩地址: mir.jutx.cn:3080
``` :lol:lol 您好,大佬。
能把相关的文件打包一下吗?
页:
[1]