-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.prod
44 lines (32 loc) · 1.21 KB
/
.env.prod
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
##############################
# django specific settings
##############################
## DJANGO_DEBUG: set to 0 to disable and 1 to enable debug mode
DJANGO_DEBUG=0
## DJANGO_SECRET_KEY: the secret key used by the django application
DJANGO_SECRET_KEY=changeme
## DJANGO_DB_ENGINE: the database engine to use. either 'django.db.backends.sqlite3' or 'django.db.backends.postgresql'
DJANGO_DB_ENGINE=django.db.backends.postgresql
## DJANGO_ALLOWED_HOSTS: the hosts that should be allowed to connect
DJANGO_ALLOWED_HOSTS=*
##############################
# punch-the-clock specific settings
##############################
## PTC_SECRET: a secret that is used to decode/encode your users api tokens
## The secret has to be a URL-safe base64-encoded 32-byte key. Generate it with
## >>> from cryptography.fernet import Fernet
## >>> Fernet.generate_key()
PTC_SECRET=IS-vy33FYkRdou7Pw3UECNyk8DEfKgKq1_bME3WTxNM=
##############################
# POSTGRES settings
##############################
POSTGRES_DB=punch-the-clock
POSTGRES_USER=admin
POSTGRES_PASSWORD=changeme
POSTGRES_HOST=db
POSTGRES_PORT=5432
##############################
# NGINX settings
##############################
NGINX_PORT=80
NGINX_ENVSUBST_OUTPUT_DIR=nginx