computer-playbook/roles/docker-listmonk/templates/config.toml.j2

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-11-18 14:11:48 +01:00
[app]
2023-12-05 14:37:50 +01:00
# Interface and port where the application will run its webserver. The default value
2023-11-18 14:11:48 +01:00
# 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).
2023-12-05 13:46:06 +01:00
address = "0.0.0.0:9000"
2023-11-18 14:11:48 +01: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.
2024-11-07 21:13:07 +01:00
# admin_username = "{{listmonk_admin_username}}"
# admin_password = "{{listmonk_admin_password}}"
# Deactivated for newer versions
2023-11-18 14:11:48 +01:00
# Database.
[db]
2023-12-28 08:17:07 +01:00
host = "{{database_host}}"
2023-11-18 14:11:48 +01:00
port = 5432
2023-12-29 19:55:26 +01:00
user = "{{database_username}}"
2023-12-28 08:17:07 +01:00
password = "{{database_password}}"
2023-11-18 14:11:48 +01:00
# Ensure that this database has been created in Postgres.
2024-01-06 14:32:49 +01:00
database = "{{database_name}}"
2023-11-18 14:11:48 +01:00
ssl_mode = "disable"
max_open = 25
max_idle = 25
max_lifetime = "300s"
# Optional space separated Postgres DSN params. eg: "application_name=listmonk gssencmode=disable"
params = ""