suchwow/docker-compose.yaml

15 lines
355 B
YAML
Raw Normal View History

2020-08-08 07:15:08 +00:00
version: '3'
services:
2020-08-08 07:18:46 +00:00
suchwow:
2020-08-08 07:15:08 +00:00
build:
context: .
command: gunicorn --bind 0.0.0.0:4000 "suchwow.app:app"
labels:
- "traefik.http.routers.http.rule=Host(`localhost`)"
- "traefik.http.routers.http.entrypoints=http"
environment:
FLASK_SECRETS: config.py
FLASK_APP: suchwow/app.py
ports:
- 4000:4000