suchwow/docker-compose.yaml
2020-08-08 00:18:46 -07:00

14 lines
355 B
YAML

version: '3'
services:
suchwow:
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