-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.docker-example
40 lines (31 loc) · 1.01 KB
/
.env.docker-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
# Debug
DEBUG = True
# Django secret key
SECRET_KEY = 'django-insecure-fk@m0d&1q_%wczs%+3@f^5bf11g&bj6di1c4+3&r(u@g%3yci*'
ALLOWED_HOSTS=0.0.0.0,127.0.0.1 # Add your hosts
CSRF_TRUSTED_ORIGINS=https://... # Deploy, add your domain
# Domain name
DOMAIN_NAME=http://127.0.0.1:8000
# Redis
REDIS_HOST=redis # When deploying, the redis host is specified the same as the container name
REDIS_PORT=6379
# Database variables
DATABASE_NAME='db_name'
DATABASE_USER='db_user'
DATABASE_PASSWORD='db_password'
DATABASE_HOST='db' # When deploying, the database host is specified the same as the container name
DATABASE_PORT='5432'
# Mail secret key
EMAIL_HOST=smtp.mail
EMAIL_PORT=port.mail
EMAIL_USE_SSL=True
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'email_password'
# Stripe
STRIPE_PUBLIC_KEY = 'Enter your key here'
STRIPE_SECRET_KEY = 'Enter your key here'
STRIPE_WEBHOOK_SECRET = 'Enter your secret here'
# Superuser data
SUPERUSER_USERNAME=admin
SUPERUSER_PASSWORD=adminpassword