# python3 scripts/bootstrap.py creates .env and local secret files. # Compose exposes the API only on 127.0.0.1:8080; Gunicorn binds 0.0.0.0:8080 inside. APP_HOST=0.0.0.0 APP_PORT=8080 APP_ENV=lab SESSION_TTL_SECONDS=3600 DATABASE_URL_FILE=/run/secrets/database_url # PostgreSQL is the session source of truth; Redis caches immutable public users. SESSION_STORE=postgres CACHE_URL_FILE=/run/secrets/cache_url