1 Star 0 Fork 665

mohsu/MeEdu

forked from 白书科技/MeEdu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
小滕 提交于 2020-01-06 22:29 . 更新docker-compose
version: '3.1'
services:
php:
container_name: "meedu-php"
# build:
# context: ./docker
image: registry.cn-hangzhou.aliyuncs.com/xiaoteng/meedu-php:v1
volumes:
- ./:/var/www/html/
restart: always
expose:
- "9000"
networks:
- meedu-net
mysql:
container_name: "meedu-mysql"
image: daocloud.io/mysql:5.7
ports:
- "3306:3306"
volumes:
- ./docker/mysql/logs:/logs/:rw
- ./docker/mysql/data:/var/lib/mysql/:rw
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: meedu
restart: always
networks:
- meedu-net
nginx:
container_name: "meedu-nginx"
image: daocloud.io/nginx:1.15.7
ports:
- "80:80"
- "443: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 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mohsu/MeEdu.git
git@gitee.com:mohsu/MeEdu.git
mohsu
MeEdu
MeEdu
master

搜索帮助