DEV_ENVTrue- by default (expected on development/local)False- default in docker (expected on production/staging/deployed)
CONTAINER_ENVFalse- by default (expected on IDE)True- default in docker
DJANGO_DEBUGsets djangoDEBUG, defaults to value ofDEV_ENV
Many settings can be set using env vars. There are "super" vars that modify defautls:
DEV_ENV == FalseSECRET_KEYno defaultDJANGO_DEBUG = FalseDATABASE_URL = 'postgres://postgres@postgres/postgres'CACHE_URL = 'redis://redis/0'CELERY_BROKER_URL = 'redis://redis/1'CELERY_RESULT_BACKEND_URL = 'redis://redis/2'SMP_BASE_URL = 'https://api.smp.io/'SMP_MQ_URL = 'amqps://mq.smp.io:5671/'
DEV_ENV == TrueSECRET_KEY = 'dev'DJANGO_DEBUG = FalseCELERY_DEFAULT_QUEUE = PROJECT_NAMESMP_BASE_URL = 'http://localhost:7000/'SMP_MQ_URL = 'amqp://localhost/'CONTAINER_ENV == True- ...
CONTAINER_ENV == False- ...