added example envs
This commit is contained in:
11
.example.env.dev
Normal file
11
.example.env.dev
Normal file
@@ -0,0 +1,11 @@
|
||||
SOME_ENV_VAR="VALUE_OF_SOME_ENV_VAR"
|
||||
DEBUG=1
|
||||
SECRET_KEY=somesecret
|
||||
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
||||
SQL_ENGINE=django.db.backends.postgresql
|
||||
SQL_DATABASE=django_dev
|
||||
SQL_USER=django
|
||||
SQL_PASSWORD=pwddjango
|
||||
SQL_HOST=db_dev
|
||||
SQL_PORT=5432
|
||||
DATABASE=postgres
|
11
.example.env.prod
Normal file
11
.example.env.prod
Normal file
@@ -0,0 +1,11 @@
|
||||
SOME_ENV_VAR="VALUE_OF_SOME_ENV_VAR"
|
||||
DEBUG=0
|
||||
SECRET_KEY=someprodsecret
|
||||
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
||||
SQL_ENGINE=django.db.backends.postgresql
|
||||
SQL_DATABASE=django_prod
|
||||
SQL_USER=django
|
||||
SQL_PASSWORD=pwddjango
|
||||
SQL_HOST=db
|
||||
SQL_PORT=5432
|
||||
DATABASE=postgres
|
3
.example.env.prod.db
Normal file
3
.example.env.prod.db
Normal file
@@ -0,0 +1,3 @@
|
||||
POSTGRES_USER=django
|
||||
POSTGRES_PASSWORD=pwddjango
|
||||
POSTGRES_DB=django_prod
|
Reference in New Issue
Block a user