Comments (4)
from walle-web.
解决了 文档要改一下 env那里 不能有 MYSQL_USER=root
from walle-web.
然后python 那边有需要这个参数 就会矛盾 希望优化一下
from walle-web.
docker-compose.yml
version: '3.7'
services:
web:
image: alenx/walle-web:2.1
container_name: walle-nginx
hostname: nginx-web
ports:
# 如果宿主机80端口被占用,可自行修改为其他port(>=1024)
# 0.0.0.0:要绑定的宿主机端口:docker容器内端口80
- "88:80"
depends_on:
- python
networks:
- walle-net
restart: always
python:
image: alenx/walle-python:2.1
container_name: walle-python
hostname: walle-python
env_file:
# walle.env需和docker-compose在同级目录
- ./walle.env
volumes:
- /tmp/walle/codebase/:/tmp/walle/codebase/
- /tmp/walle/logs/:/opt/walle-web/logs/
- /root/.ssh:/root/.ssh/
command: bash -c "cd /opt/walle_home/ && /bin/bash admin.sh migration && python waller.py"
expose:
- "5000"
depends_on:
- db
networks:
- walle-net
restart: always
db:
image: mysql:5.6
container_name: walle-mysql
hostname: walle-mysql
environment:
MYSQL_USER: "walle"
MYSQL_PASSWORD: "walle"
MYSQL_DATABASE: "walle"
MYSQL_ROOT_PASSWORD: "walle"
MYSQL_HOST: "db"
MYSQL_PORT: "3306"
command: [ '--default-authentication-plugin=mysql_native_password', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
ports:
- "3306:3306"
expose:
- "3306"
volumes:
- /data/walle/mysql:/var/lib/mysql
networks:
- walle-net
restart: always
networks:
walle-net:
driver: bridge
from walle-web.
Related Issues (20)
- BUG
- 免密登录的问题,在docker下如何解决? HOT 1
- Feature-用 SFTP 协议替代SCP进行文件复制
- Execute the sh admin.sh migration to report an error.
- docker install error
- BUG
- help HOT 1
- BUG docker部署后 项目页 没有 《创建项目》,自己手动访问 create URL地址进行项目创建,提示 space_id: Field must be between 1 and 10 characters long.。
- 使用docker-walle编译go项目报错 HOT 2
- 解决在docker下如何免密登录问题? feature
- Feature 为什么没有前端源码
- 项目后续还会继续发展么 HOT 2
- BUG HOT 1
- 官方文档打不开了 HOT 1
- 执行 sh admin.sh init 报错
- 上线之后walle会删除目标服务器目标文件夹,然后把git拷贝过去,而不是将git代码增量添加到目标文件夹 HOT 1
- Feature
- 项目已停止维护两年,请用户不要再提issue了/This Project is dead 2 years ago,pls not open issue. HOT 3
- 这个项目已经没人维护了 不要再提一休了 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from walle-web.