Viyurz
6a4dd7cd2b
Some environment variables set in docker compose file (TIME_ZONE, ALLOWED_HOSTS) are used only if the etebase-server.ini file doesn't exist, which can be misleading. If we change these variables after the etebase-server.ini file has been generated, the settings won't be updated in the config file. Templating this file allows changing these settings after the first run.
17 lines
337 B
INI
17 lines
337 B
INI
[global]
|
|
secret_file = /data/secret.txt
|
|
debug = false
|
|
static_root = /srv/etebase/static
|
|
static_url = /static/
|
|
media_root = /data/media
|
|
media_url = /user-media/
|
|
language_code = en-us
|
|
time_zone = {{ timezone }}
|
|
|
|
|
|
[allowed_hosts]
|
|
allowed_host1 = etebase.{{ domain }}
|
|
|
|
[database]
|
|
engine = django.db.backends.sqlite3
|
|
name = /data/db.sqlite3
|