Updated sample config
This commit is contained in:
parent
df91a89cd5
commit
6ca7f70a2e
1 changed files with 7 additions and 7 deletions
|
@ -1,15 +1,15 @@
|
||||||
# environment variables
|
# environment variables
|
||||||
|
|
||||||
export HTTP_PORT=80 # required by caddy, will be redirected to https
|
export HTTP_PORT=80 # required by caddy, will be redirected to https
|
||||||
export HTTPS_PORT=443 # actual port for webinterface
|
export HTTPS_PORT=443 # actual port for the webinterface
|
||||||
|
|
||||||
export DJANGO_PORT=8001 # caddy's http port (should be blocked by the firewall)
|
export DJANGO_PORT=8001 # caddy's http port (should be blocked by the firewall)
|
||||||
|
|
||||||
export DJANGO_SESSION_COOKIE_AGE=600 # auto-logout, in seconds
|
export DJANGO_SESSION_COOKIE_AGE=600 # auto-logout, in seconds
|
||||||
export SESSION_CLEAR_INTERVAL=120 # interval for automatic session clearing, in minutes
|
export SESSION_CLEAR_INTERVAL=120 # interval for automatic session clearing, in minutes
|
||||||
|
|
||||||
export DJANGO_LANGUAGE_CODE="en" # the default and fallback language. Currently only de and en are supported.
|
export DJANGO_LANGUAGE_CODE="en" # the default and fallback language, currently only de and en are supported.
|
||||||
export DJANGO_TIME_ZONE="CET"
|
export DJANGO_TIME_ZONE="CET" # your timezone
|
||||||
|
|
||||||
export CURRENCY_SUFFIX="$" # if you have another currency symbol, you can specify it here
|
export CURRENCY_SUFFIX="$" # if you have another currency symbol, you can specify it here
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@ export CURRENCY_SUFFIX="$" # if you have another currency symbol, you can specif
|
||||||
export DJANGO_ENABLE_PASSWORD_VALIDATION="true"
|
export DJANGO_ENABLE_PASSWORD_VALIDATION="true"
|
||||||
|
|
||||||
# database connection (postgresql)
|
# database connection (postgresql)
|
||||||
export PGDB_DB="" # The name of the databae
|
export PGDB_DB="" # The name of the database
|
||||||
export PGDB_USER="" # The database user
|
export PGDB_USER="" # The database user
|
||||||
export PGDB_PASSWORD='' # The password for the database user
|
export PGDB_PASSWORD='' # The password for the database user
|
||||||
export PGDB_HOST="" # The hostname of your database (e.g. example.org or 127.0.0.1)
|
export PGDB_HOST="127.0.0.1" # The hostname of your database
|
||||||
export PGDB_PORT=5432 # The port your database is listening on
|
export PGDB_PORT=5432 # The port your database is listening on
|
||||||
|
|
||||||
# log files
|
# log files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue