Improve config (json) file creation

This commit is contained in:
Tobias Reisinger 2024-03-28 03:19:15 +01:00
commit 525eb21649
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
6 changed files with 91 additions and 84 deletions

View file

@ -1,18 +1,18 @@
amends "./lib/core.pkl"
server {
host = "127.0.0.1"
port = 4419
host = "127.0.0.1"
port = 4419
}
database = "sqlite://emgauwa-core.sqlite"
permissions {
user = read("env:USER")
group = read("env:USER")
user = read("env:USER")
group = read("env:USER")
}
logging {
level = "DEBUG"
file = "stdout"
level = read?("env:LOGGING_LEVEL") ?? "DEBUG"
file = "stdout"
}