services: web: build: . image: signage:latest ports: - "8000:8000" environment: # Override in a .env file or your shell; this default is only for convenience. SECRET_KEY: "change-me" # Optional bootstrap (only runs if ADMIN_PASS is set) ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@admin.admin} ADMIN_PASS: ${ADMIN_PASS:-} # Optional overrides (the Dockerfile already defaults these) GUNICORN_WORKERS: "2" GUNICORN_BIND: "0.0.0.0:8000" # Entrypoint (from Dockerfile) runs: # - `flask ensure-db` # - optional `flask init-db` when ADMIN_PASS is set # - gunicorn volumes: # Persist SQLite DB and uploads on the host - ./instance:/app/instance - ./app/static/uploads:/app/app/static/uploads