-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
36 lines (28 loc) · 972 Bytes
/
.env.sample
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
# This is the .env sample
# Remove the .sample from the name
# Set this to true if django is run in a production environment
PRODUCTION=false
# Hash salt for django
SALT="django-insecure-5^1*16vzj2__CHANGE_IF_PRODUCTION__z%os__DEVELOPMENT_ONLY__"
# Allowed hosts, comma separated
ALLOWED_HOSTS=127.0.0.1,localhost,skwal-net.local
# Allowed CORS origins, comma separated
# Shouldn't normally need to be changed
# when running locally, but if you have an error,
# try adding "http://127.0.0.1:8000" to the list,
# (use your local hostname/IP and port)
CSRF_TRUSTED_ORIGINS="https://skwal.net,https://*.skwal.net"
# Postgresql settings
DB_NAME=database_name
DB_USER=database_user
DB_PASSWORD=database_password
# Github webhook secret
GITHUB_SECRET=github_webhook_secret
# SMTP settings
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_HOST_USER=smtp_user
EMAIL_HOST_PASSWORD=smtp_password
EMAIL_USE_TLS=True
EMAIL_USE_SSL=False
DEFAULT_FROM_EMAIL='noreply@domain.com'