-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker_example
More file actions
49 lines (43 loc) · 1.17 KB
/
Copy path.env.docker_example
File metadata and controls
49 lines (43 loc) · 1.17 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
# === Docker image ===
IMAGE_NAME=ghcr.io/my_repozitory:latest
# =========================
# Django
# =========================
DJANGO_SECRET_KEY=CHANGE_ME
DJANGO_DEBUG=False
DJANGO_ALLOWED_HOSTS=158.160.187.131,localhost,127.0.0.1
LANGUAGE_CODE=ru
TIME_ZONE=Europe/Amsterdam
# =========================
# Postgres (container db)
# =========================
POSTGRES_DB=onlinelearning_db
POSTGRES_USER=onlinelearning
POSTGRES_PASSWORD=CHANGE_ME
POSTGRES_HOST=db
POSTGRES_PORT=5432
# =========================
# Redis (container redis)
# =========================
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# =========================
# SMTP (опционально)
# =========================
SMTP_BACKEND=django.core.mail.backends.smtp.EmailBackend
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=True
SMTP_USER=
SMTP_PASSWORD=
DJANGO_DEFAULT_ADMIN_EMAIL=superadmin@example.com
DJANGO_DEFAULT_ADMIN_PASSWORD=CHANGE_ME
# =========================
# Stripe (опционально)
# =========================
STRIPE_SECRET_KEY=
STRIPE_PUBLISHABLE_KEY=
STRIPE_SUCCESS_URL=http://158.160.187.131/payments/success/
STRIPE_CANCEL_URL=http://158.160.187.131/payments/cancel/