agilentics / boiler
# Copy to .env for local development. Gitignored.
#
# Only what differs from settings.py's defaults needs to be here. Everything
# absent falls back to "feature off", which is what lets the app run locally with
# no third-party account registered anywhere.

ENV=local

# A local Postgres, or the Cloud SQL Auth Proxy on 5432. Leave
# INSTANCE_UNIX_SOCKET unset locally - that is what selects the TCP driver.
DB_USER=myapp
DB_PASS=
DB_NAME=myapp
DB_PORT=5432

# Signs the session cookie. Any value works locally; main.py refuses to start
# with a placeholder only when ENV=prod. Generate one with:
#   python -c "import secrets; print(secrets.token_urlsafe(48))"
SECRET_KEY=dev-only-not-for-production

# Unset: mail is logged to the console instead of sent.
# SMTP_HOST=

# Unset: "Sign in with Google" is hidden and /auth/google/* redirects to /login.
# To try it locally, register http://localhost:8080/auth/google/callback as a
# redirect URI on the OAuth client - localhost is a trusted origin for Google and
# for crud.public_base_url alike, so no tunnel is needed.
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=