-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add environ variables, env.example (#16)
Co-authored-by: Mitsushidu <[email protected]>
- Loading branch information
1 parent
7f92cb4
commit 9071de7
Showing
4 changed files
with
60 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Название, логин и пароль для БД postgres | ||
POSTGRES_DB=postgres_db | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
|
||
# Данные для подключения к БД | ||
DB_HOST=db | ||
DB_PORT=5432 | ||
|
||
# Переменные Django | ||
# ПРЕДУПРЕЖДЕНИЕ: Хранить секретный ключ не должен попадать в общий доступ | ||
SECRET_KEY=secret_key | ||
# ПРЕДУПРЕЖДЕНИЕ: Debug = true использовать только при разработке | ||
DEBUG=True | ||
# Список разрешенных хостов | ||
ALLOWED_HOSTS='localhost 127.0.0.1' | ||
|
||
# Переменные бота | ||
# Токен для подключения к Telegram API | ||
TELEGRAM_TOKEN=token |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters