vps/roles/etebase/templates/etebase-server.ini
Viyurz 6a4dd7cd2b
Etebase: Add etebase-server.ini template.
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.
2024-02-23 12:41:39 +01:00

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