added example envs

This commit is contained in:
Kuznetsov Anton 2022-08-26 16:49:56 +06:00
parent a19c13a5e3
commit 5afb374e65
3 changed files with 25 additions and 0 deletions

11
.example.env.dev Normal file
View 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
View 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
View File

@ -0,0 +1,3 @@
POSTGRES_USER=django
POSTGRES_PASSWORD=pwddjango
POSTGRES_DB=django_prod