Merge pull request #350 from alerque/config-handling
Cleanup sample config
This commit is contained in:
commit
f08254d2bf
|
@ -1,15 +1,15 @@
|
||||||
[app]
|
[app]
|
||||||
# Interface and port where the app will run its webserver.
|
# Interface and port where the app will run its webserver.
|
||||||
address = "0.0.0.0:9000"
|
address = "0.0.0.0:9000"
|
||||||
|
|
||||||
# Database.
|
# Database.
|
||||||
[db]
|
[db]
|
||||||
host = "demo-db"
|
host = "demo-db"
|
||||||
port = 5432
|
port = 5432
|
||||||
user = "listmonk"
|
user = "listmonk"
|
||||||
password = "listmonk"
|
password = "listmonk"
|
||||||
database = "listmonk"
|
database = "listmonk"
|
||||||
ssl_mode = "disable"
|
ssl_mode = "disable"
|
||||||
max_open = 25
|
max_open = 25
|
||||||
max_idle = 25
|
max_idle = 25
|
||||||
max_lifetime = "300s"
|
max_lifetime = "300s"
|
||||||
|
|
|
@ -1,22 +1,25 @@
|
||||||
[app]
|
[app]
|
||||||
# Interface and port where the app will run its webserver.
|
# Interface and port where the app will run its webserver. The default value
|
||||||
address = "0.0.0.0:9000"
|
# 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 = "localhost:9000"
|
||||||
|
|
||||||
# BasicAuth authentication for the admin dashboard. This will eventually
|
# BasicAuth authentication for the admin dashboard. This will eventually
|
||||||
# be replaced with a better multi-user, role-based authentication system.
|
# be replaced with a better multi-user, role-based authentication system.
|
||||||
# IMPORTANT: Leave both values empty to disable authentication on admin
|
# IMPORTANT: Leave both values empty to disable authentication on admin
|
||||||
# only where an external authentication is already setup.
|
# only where an external authentication is already setup.
|
||||||
admin_username = "listmonk"
|
admin_username = "listmonk"
|
||||||
admin_password = "listmonk"
|
admin_password = "listmonk"
|
||||||
|
|
||||||
# Database.
|
# Database.
|
||||||
[db]
|
[db]
|
||||||
host = "db"
|
host = "localhost"
|
||||||
port = 5432
|
port = 5432
|
||||||
user = "listmonk"
|
user = "listmonk"
|
||||||
password = "listmonk"
|
password = "listmonk"
|
||||||
database = "listmonk"
|
database = "listmonk"
|
||||||
ssl_mode = "disable"
|
ssl_mode = "disable"
|
||||||
max_open = 25
|
max_open = 25
|
||||||
max_idle = 25
|
max_idle = 25
|
||||||
max_lifetime = "300s"
|
max_lifetime = "300s"
|
||||||
|
|
Loading…
Reference in New Issue