config.toml.sample 857 B

12345678910111213141516171819202122232425
  1. [app]
  2. # Interface and port where the app will run its webserver. The default value
  3. # of localhost will only listen to connections from the current machine. To
  4. # listen on all interfaces use '0.0.0.0'. To listen on the default web address
  5. # port, use port 80 (this will require running with elevated permissions).
  6. address = "localhost:9000"
  7. # BasicAuth authentication for the admin dashboard. This will eventually
  8. # be replaced with a better multi-user, role-based authentication system.
  9. # IMPORTANT: Leave both values empty to disable authentication on admin
  10. # only where an external authentication is already setup.
  11. admin_username = "listmonk"
  12. admin_password = "listmonk"
  13. # Database.
  14. [db]
  15. host = "localhost"
  16. port = 5432
  17. user = "listmonk"
  18. password = "listmonk"
  19. database = "listmonk"
  20. ssl_mode = "disable"
  21. max_open = 25
  22. max_idle = 25
  23. max_lifetime = "300s"