Merge pull request #350 from alerque/config-handling

Cleanup sample config
This commit is contained in:
Kailash Nadh 2021-05-08 13:22:30 +05:30 committed by GitHub
commit f08254d2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 28 deletions

View File

@ -1,6 +1,9 @@
[app]
# Interface and port where the app will run its webserver.
address = "0.0.0.0:9000"
# 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).
address = "localhost:9000"
# BasicAuth authentication for the admin dashboard. This will eventually
# be replaced with a better multi-user, role-based authentication system.
@ -11,7 +14,7 @@
# Database.
[db]
host = "db"
host = "localhost"
port = 5432
user = "listmonk"
password = "listmonk"