2022-03-28 11:33:36 +02:00
|
|
|
[app]
|
2022-03-28 14:54:46 +02:00
|
|
|
# Interface and port where the app will run its webserver. The default value
|
|
|
|
# of localhost will only listen to connections from the current machine. To
|
|
|
|
# listen on all interfaces use '0.0.0.0'. To listen on the default web address
|
|
|
|
# port, use port 80 (this will require running with elevated permissions).
|
2022-03-28 11:33:36 +02:00
|
|
|
address = "127.0.0.1:__PORT__"
|
2022-03-28 14:54:46 +02:00
|
|
|
|
|
|
|
# BasicAuth authentication for the admin dashboard. This will eventually
|
|
|
|
# be replaced with a better multi-user, role-based authentication system.
|
|
|
|
# IMPORTANT: Leave both values empty to disable authentication on admin
|
|
|
|
# only where an external authentication is already setup.
|
2023-05-13 01:03:43 +02:00
|
|
|
admin_username = ""
|
|
|
|
admin_password = ""
|
2022-03-28 11:33:36 +02:00
|
|
|
|
|
|
|
# Database.
|
|
|
|
[db]
|
|
|
|
host = "localhost"
|
|
|
|
port = 5432
|
|
|
|
user = "__DB_USER__"
|
|
|
|
password = "__DB_PWD__"
|
|
|
|
database = "__DB_NAME__"
|
|
|
|
ssl_mode = "disable"
|
|
|
|
max_open = 25
|
|
|
|
max_idle = 25
|
|
|
|
max_lifetime = "300s"
|