Files
kennethreitz.org/docker-compose.yml
T

16 lines
531 B
YAML

version: '3.8'
services:
web:
build: .
ports:
- "8000:8000"
volumes:
- .:/app
environment:
- FLASK_ENV=development
- DISABLE_ANALYTICS=true
restart: unless-stopped
# Use single worker for local development with markdown file watching
command: ["gunicorn", "--bind", "0.0.0.0:8000", "--worker-class", "gevent", "--workers", "1", "--worker-connections", "1000", "--timeout", "60", "--reload", "--reload-extra-file", "./data", "--reload-extra-file", "./templates", "engine:app"]