-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
78 lines (67 loc) · 2.74 KB
/
Copy path.env.example
File metadata and controls
78 lines (67 loc) · 2.74 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#Django settings:
###############################################################################
#### Set Debug in False on production
DEBUG=True
#### Uncomment this in production and enter your domain name here
#### (with http:// or https://):
#CSRF_TRUSTED_ORIGINS=https://your_domain.com
#### And here (with http:// or https:// and no port):
BASE_URL=http://127.0.0.1:9000
SECRET_KEY=you_need_to_set_the_secret_key
ALLOWED_HOSTS=127.0.0.1, localhost, *
INTERNAL_IPS=127.0.0.1, localhost, *
#### Comment this string if you use it in Docker on production:
CACHE_LOCATION='redis://127.0.0.1:6379/1'
#### Comment this string if you use it in local development or
#### uncomment this string if you use it in Docker on production:
#CACHE_LOCATION='redis://redis:6379/1'
CACHE_BACKEND='django.core.cache.backends.redis.RedisCache'
#Email settings:
###############################################################################
RECIPIENT_ADDRESS='your_email_on_yandex@yandex.ru'
EMAIL_HOST='smtp.yandex.ru'
EMAIL_PORT=465
EMAIL_USE_SSL=True
DEFAULT_FROM_EMAIL='your_email_on_yandex@yandex.ru'
EMAIL_HOST_USER='your_email_on_yandex@yandex.ru'
EMAIL_HOST_PASSWORD='your_password_yandex@yandex.ru'
EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
#Nginx settings:
###############################################################################
NGINX_PORT=9000
#Flower settings:
###############################################################################
FLOWER_PORT=5556
FLOWER_USER=admin
FLOWER_PASSWORD=MySuperStrongPassword
FLOWER_UNAUTHENTICATED_API=True
#Celery settings:
###############################################################################
#### Uncomment these two strings if you use it in Docker:
#### Comment it if you use it in local development:
#CELERY_BROKER_URL='redis://redis:6379/0'
#CELERY_RESULT_BACKEND='redis://redis:6379/0'
#### Uncomment these two strings if you use it in local development.
#### Comment it if you use Docker:
CELERY_BROKER_URL='redis://127.0.0.1:6379/0'
CELERY_RESULT_BACKEND='redis://127.0.0.1:6379/0'
CELERY_BROKER_CONNECTION_RETRY_ON_STARTUP=True
#PostgreSQL settings:
###############################################################################
POSTGRES_DB=simple_task_tracker_database
POSTGRES_USER=simple_task_tracker_user
POSTGRES_PASSWORD=your_postgres_password
DB_NAME=simple_task_tracker
DB_HOST=postgres
DB_PORT=5432
#Page settings:
TASKS_IN_PAGE=10
DAYS_IN_CALENDAR_PAGE=3
MAX_IMAGES_COUNT=5
MAX_COMMENTS_DEPTH=2
#Telegram bot settings:
###############################################################################
TELEGRAM_TOKEN=0123456789:AaBbCcDd1234EeFfGgHh5678910IiJjKk11
#DockerHub settings:
###############################################################################
DOCKERHUB_LOGIN=your_dockerhub_login