2018-10-25 13:51:47 +00:00
|
|
|
[app]
|
2021-05-07 11:44:16 +00: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).
|
2021-05-07 09:35:22 +00:00
|
|
|
address = "localhost:9000"
|
2019-07-21 13:48:41 +00:00
|
|
|
|
2021-05-06 15:28:04 +00: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.
|
|
|
|
admin_username = "listmonk"
|
|
|
|
admin_password = "listmonk"
|
2020-08-08 07:41:49 +00:00
|
|
|
|
2018-10-25 13:51:47 +00:00
|
|
|
# Database.
|
|
|
|
[db]
|
2021-05-07 09:33:22 +00:00
|
|
|
host = "localhost"
|
2021-05-06 15:28:04 +00:00
|
|
|
port = 5432
|
|
|
|
user = "listmonk"
|
|
|
|
password = "listmonk"
|
2022-07-14 05:22:41 +00:00
|
|
|
|
|
|
|
# Ensure that this database has been created in Postgres.
|
2021-05-06 15:28:04 +00:00
|
|
|
database = "listmonk"
|
2022-07-14 05:22:41 +00:00
|
|
|
|
2021-05-06 15:28:04 +00:00
|
|
|
ssl_mode = "disable"
|
|
|
|
max_open = 25
|
|
|
|
max_idle = 25
|
|
|
|
max_lifetime = "300s"
|
2022-12-25 10:58:19 +00:00
|
|
|
|
|
|
|
# Optional space separated Postgres DSN params. eg: "application_name=listmonk gssencmode=disable"
|
|
|
|
params = ""
|