加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 677 Bytes
一键复制 编辑 原始数据 按行查看 历史
Xiaoteng 提交于 2019-03-09 12:45 . docker端口
version: '2.2'
services:
php:
container_name: "meeduphp"
# build:
# context: ./docker
image: registry.cn-hangzhou.aliyuncs.com/xiaoteng/meedu-php:v1
volumes:
- ./:/var/www/html/
restart: always
expose:
- "9000"
networks:
- meedu-net
nginx:
container_name: "meedunginx"
image: nginx:1.15.7
ports:
- "9006:80"
- "4430:443"
volumes:
- .:/var/www/html/:rw
- ./docker/nginx/conf.d:/etc/nginx/conf.d/:rw
- ./docker/nginx/logs:/var/log/nginx/:rw
- ./docker/nginx/ssl:/etc/nginx/ssl
restart: always
networks:
- meedu-net
networks:
meedu-net:
external: true
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化