Updated configuration using config.toml file instead of environment variables

This commit is contained in:
Edgar P. Burkhart 2022-12-29 17:26:54 +01:00
parent bcbf33984b
commit a06f49c2a5
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 30 additions and 12 deletions

13
config.toml Normal file
View file

@ -0,0 +1,13 @@
secret_key = "dev_sDo6gl1Yf8GIE7XEA2B4xF841eMOpfG1"
debug = false
hosts = ["localhost"]
trusted_origins = ["http://localhost"]
time_zone = "CET"
[media]
root = "/var/lib/nummi"
[databases.default]
ENGINE = "django.db.backends.postgresql"
NAME = "nummi"
USER = "nummi"