Skip to main content
Environment variables are set in dev_resources.py (local) and prd_resources.py (production).

Production Variables

These variables are set in prd_resources.py:
MIGRATE_DB is not set in production by default. Add it manually if you want migrations to run on startup. See Adding Custom Variables.

Development Variables

These variables are set in dev_resources.py: Database variables (DB_HOST, DB_PORT, etc.) come from the local Docker container.

Adding Custom Variables

Add variables to the container_env dict in prd_resources.py:
prd_resources.py
After adding variables:

Reading in Code