-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.env
More file actions
18 lines (15 loc) · 905 Bytes
/
local.env
File metadata and controls
18 lines (15 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DJANGO_SECRET_KEY=your_secret_key # should be a secret random value. used for password validation and other stuff
DJANGO_DEBUG=True # True or False, sets django in debug mode
DJANGO_MANAGE_MIGRATE=on # whether django attempts a migration at startup. Usually on, but off if migrations become complex
DJANGO_SETTINGS_MODULE=settings.local # setting target, usually one of prod or dev. base contains the basics
DB_HOST=postgres # postgres targete
DB_PORT=5432
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# POSTGRES_SCHEMA=my_postgres_schema # optional. If set, the schema will be used for the database connection
DJANGO_SUPERUSER_USERNAME=admin # default admin. Even if set by secret, it is recommended to change pasword manually on first production deployment
DJANGO_SUPERUSER_PASSWORD=secret
DJANGO_SUPERUSER_EMAIL=su@email.com
REDIS_HOST=redis # redis target
REDIS_PORT=6379