代码拉取完成,页面将自动刷新
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。