加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
MZ 提交于 2023-10-10 22:03 . feat: php56 upgrade
version: '3'
services:
ms_tengine:
image: modstart/tengine:1.0.0
ports:
- "20080:80"
volumes:
- "./docker_config/tengine.conf:/etc/nginx/nginx.conf"
- "./modstart:/data/website/modstart:rw"
links:
- ms_php56
networks:
- ms_network
ms_php56:
image: modstart/php56:1.1.0
volumes:
- "./modstart:/data/website/modstart:rw"
links:
- ms_mysql
networks:
- ms_network
ms_supervisor_php56:
image: modstart/supervisor_php56:1.0.0
volumes:
- "./modstart:/data/website/modstart:rw"
- "./cron.d:/etc/cron.d:rw"
- "./supervisord.d:/etc/supervisord.d:rw"
links:
- ms_mysql
networks:
- ms_network
ms_mysql:
image: mysql:5.6.29
environment:
MYSQL_ROOT_PASSWORD: "123456"
volumes:
- "./docker_config/mysql_init.sql:/docker-entrypoint-initdb.d/setup.sql"
- "./data/mysql:/var/lib/mysql"
ports:
- "23306:3306"
networks:
- ms_network
networks:
ms_network:
name: ms_network
driver: bridge
ipam:
driver: default
config:
- subnet: 172.30.30.0/24
gateway: 172.30.30.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化