config-template.toml: fix postgres section and keys
This commit is contained in:
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user