|
```yaml
version: '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
``` |
|