forked from iMMAP/rh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
50 lines (41 loc) · 993 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
APP_NAME="ReportHub"
DJANGO_SETTINGS_MODULE="core.settings.local"
SECRET_KEY=
DEBUG=True
APP_ENV=local
ALLOWED_HOSTS=localhost,127.0.0.1
# Options: postgresql ,sqlite
DB="postgresql"
DB_HOST=localhost
DB_NAME=rh
DB_USER=postgres
DB_PASSWORD=admin
DB_PORT=5432
SENTRY_DSN=
# Outgoing Email Credentials
EMAIL_HOST=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=587
# Dropbox settings for backups
DROPBOX_APP_KEY=
DROPBOX_APP_SECRET=
DROPBOX_ACCESS_TOKEN=
DROPBOX_REFRESH_TOKEN=
########################
# PRODUCTION SERVER
########################
# HTTPS setting
SESSION_COOKIE_SECURE=False
CSRF_COOKIE_SECURE=False
SECURE_SSL_REDIRECT=False
CSRF_TRUSTED_ORIGINS=https://localhost,http://localhost,https://127.0.0.1
# HSTS settings
SECURE_HSTS_SECONDS=31536000
SECURE_HSTS_PRELOAD=False
SECURE_HSTS_SUBDOMAINS=False
# SSL Certificate
HTTPS_HOST=yourdomain.com
ADMIN_EMAIL=your-email@example.com
# Only for createsuperuser is run with non interactive
DJANGO_SUPERUSER_PASSWORD=admin