forked from hpi-sam/digital-fuesim-manv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
52 lines (41 loc) · 1.77 KB
/
.env.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
41
42
43
44
45
46
47
48
49
50
51
52
# Ports (only change them, if you know what you do)
# The port for the websocket listener
DFM_WEBSOCKET_PORT=3200
# The port of the HTTP Server
DFM_HTTP_PORT=3201
# set the upload limit for nginx and for the backend in Megabyte
DFM_UPLOAD_LIMIT=200
# enable extra debugging output
#DFM_DEBUG=false
# persistent data storage path inside the container, e.g. used for SSL
# if you change this from the default, keep in mind that the path needs to exist inside the container
DFM_PERSISTENT_DATA_PATH="/dfm-data"
# SSL/HTTPS
# choose a domain that points to this server - needed when using SSL
#DFM_DOMAIN=
# enabling this will enable https, needs DFM_DOMAIN set,
# cert is generated via http challenge, so port 80 (tcp) must be publically available
# and the domain must be set to the public ip address where this is reachable
# for https to work port 443 (tcp) needs to be publically available
# disabling again will not delete content in the dfm-data volume (mounted under DFM_PERSISTENT_DATA_PATH)
# container needs internet access for it to issue certificates
# issueing too many certs from letsencrypt
# could create a ratelimit for the domain from letsencrypt --- Be careful
DFM_ENABLE_SSL=false
# WARNING enabling this once will make so you can't go back to http,
# WARNING only activate after you tested https works
DFM_ENABLE_HSTS=false
# removes certs ánd therefore forcing acme.sh to create new ones
# after everything works don't forget to disable,
# issueing too many certs from letsencrypt could create a ratelimit for the domain from letsencrypt
DFM_FORCE_NEW_SSL_CERTS=false
# Postgres
DFM_USE_DB=true
DFM_DB_USER=dfm
# Choose something secure here
#DFM_DB_PASSWORD=
DFM_DB_NAME=dfm_db
DFM_DB_HOST=db
DFM_DB_PORT=5432
# Whether or not to log database queries to stdout
DFM_DB_LOG=false