1 Star 0 Fork 372

woerwin/walle-web

forked from wushuiyong/walle-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
Alenx 提交于 2019-01-07 18:00 . update docker-compose
version: '3.7'
services:
web:
image: alenx/walle-web:2.0
container_name: walle-nginx
hostname: nginx-web
ports:
# 如果宿主机80端口被占用,可自行修改为其他port(>=1024)
# 0.0.0.0:要绑定的宿主机端口:docker容器内端口80
- "80:80"
links:
- python
depends_on:
- python
networks:
- walle-net
restart: always
python:
image: alenx/walle-python:2.0
container_name: walle-python
hostname: walle-python
volumes:
- /tmp/walle/codebase/:/tmp/walle/codebase/
- /tmp/walle/logs/:/opt/walle-web/logs/
- /root/.ssh:/root/.ssh/
command: bash -c "cd /opt/walle-web/ && /bin/bash admin.sh migration && python /opt/walle-web/waller.py"
expose:
- "5000"
links:
- db
depends_on:
- db
networks:
- walle-net
restart: always
db:
image: mysql
container_name: walle-mysql
hostname: walle-mysql
ports:
- "3306:3306"
expose:
- "3306"
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: walle
MYSQL_DATABASE: walle
volumes:
- /data/walle/mysql:/var/lib/mysql
networks:
- walle-net
restart: always
networks:
walle-net:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/woerwin/walle-web.git
git@gitee.com:woerwin/walle-web.git
woerwin
walle-web
walle-web
master

搜索帮助