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