1 Star 0 Fork 0

kangchi/WeeklyReport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 844 Bytes
一键复制 编辑 原始数据 按行查看 历史
xuqinghan 提交于 2017-12-22 14:21 . add docker-compose.yml
version: '3.3'
services:
db:
image: postgres
environment:
- POSTGRES_DB=wr_prd
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./pg_data:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
ports:
- 8080:8080
api:
build: .
#restart: always
stdin_open: true
tty: true
volumes:
- ./deploy:/deploy
- /etc/localtime:/etc/localtime:ro
# - ./gunicorn.conf:/etc/supervisor/conf.d/gunicorn.conf
# - ./supervisord.conf:/etc/supervisor/conf.d/supervisord.conf
depends_on:
- db
ports:
- 8000:5000
#command: '/bin/bash'
#command: ['python3.6', ' wsgi.py', 'deploy']
#command: '/usr/bin/supervisord'
#command: ['gunicorn','--workers=3', 'wsgi:app', '-b 0.0.0.0:5000']
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kangchi/WeeklyReport.git
git@gitee.com:kangchi/WeeklyReport.git
kangchi
WeeklyReport
WeeklyReport
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385