1 Star 0 Fork 665

JLF818/MeEdu

forked from 白书科技/MeEdu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1001 Bytes
一键复制 编辑 原始数据 按行查看 历史
小滕 提交于 2020-07-05 20:05 . update docker
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
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/jlf818/MeEdu.git
git@gitee.com:jlf818/MeEdu.git
jlf818
MeEdu
MeEdu
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385