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
|
|
|
|
2024-05-31 00:30:54 +08:00
|
|
|
# ###### IMPORTANT ######
|
|
|
|
# Username and password are only used during installation (--install)
|
|
|
|
# for creating the superadmin user in the database.
|
2024-05-26 02:33:41 +08:00
|
|
|
#
|
|
|
|
# After installation, login to the admin dashboard, update the superadmin's
|
2024-05-31 00:30:54 +08:00
|
|
|
# user profile with the necessary details and remove these username and
|
|
|
|
# password from here.
|
|
|
|
#
|
|
|
|
# Username should be min 3 chars and Password should be min 8 chars.
|
2021-05-06 23:28:04 +08:00
|
|
|
admin_username = "listmonk"
|
|
|
|
admin_password = "listmonk"
|
2020-08-08 15:41:49 +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 = ""
|