25 lines
781 B
Django/Jinja

[app]
# Interface and port where the application 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).
address = "0.0.0.0:{{ container_port }}"
# Database.
[db]
host = "{{ database_host }}"
port = {{database_port}}
user = "{{ database_username }}"
password = "{{ database_password }}"
# Ensure that this database has been created in Postgres.
database = "{{ database_name }}"
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 = ""