-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
51 lines (43 loc) · 1.22 KB
/
.env-example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Django settings
SECRET_KEY=unsafe-key-rhgb3hgbfbn4j35g
DEBUG=True
# no http://
ALLOWED_HOSTS=localhost,127.0.0.1,testserver
INTERNAL_IPS=localhost,127.0.0.1,172.21.0.0/254
CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
# Email
EMAIL_HOST=smtp.yandex.ru
EMAIL_HOST_PASSWORD=strong_password
EMAIL_PORT=465
EMAIL_USE_TLS=False
EMAIL_USE_SSL=True
# Used for notifications purposes.
# Must be without "/" at the end; Used in email sending.
HOST=http://localhost:8000
# DOMEN; used in Caddyfile
DOMEN=localhost
# DATABASE:
POSTGRES_DB=stamps
POSTGRES_USER=stamps_user
POSTGRES_PASSWORD=stamps_password
DB_NAME=stamps
DB_HOST=db
DB_PORT=5432
# Celery
CELERY_BROKER_URL=pyamqp://guest:guest@rabbitmq:5672/
CELERY_RESULT_BACKEND=rpc://guest:guest@rabbitmq:5672/
# full path to activate file for current env
# use "poetry env info"
# Used for running test by pre-commit.
ENV_ACTIVATE=/home/username/.cache/pypoetry/virtualenvs/src-wssgg3u-py3.10/bin/activate
# Is this a production? Either True or False.
ENV=False
# Sentry
DSN=https://localhost
TRACES=1.0
PROFILES=1.0
# Telegram
TG_BOT_TOKEN=111111111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
TG_ADMIN_USER_ID=60000000