config-template.toml: fix postgres section and keys

This commit is contained in:
2026-01-12 03:17:16 +09:00
parent 2fccf882d7
commit 30f8ae6093

View File

@@ -9,12 +9,12 @@ type = 'sqlite'
[database.sqlite]
path = './worblehat.sqlite'
[database.postgres]
[database.postgresql]
host = 'localhost'
port = 5432
username = 'worblehat'
password = '/var/lib/worblehat/db-password' # path or plain text
name = 'worblehat'
database = 'worblehat'
# See https://flask.palletsprojects.com/en/2.3.x/config/
[flask]
@@ -37,4 +37,4 @@ enabled = true
dryrun = false
warn_days_before_borrowing_deadline = [ 5, 1 ]
days_before_queue_position_expires = 14
warn_days_before_expiring_queue_position_deadline = [ 3, 1 ]
warn_days_before_expiring_queue_position_deadline = [ 3, 1 ]