Update app templates and routes
This commit is contained in:
@@ -7,9 +7,16 @@ services:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user