Skip to content

Commit c7c04c5

Browse files
author
Alexis Vanier
committed
Provide a default configuration file for containerized development
1 parent 5a6b338 commit c7c04c5

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

dev/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!config.toml

dev/config.toml

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

0 commit comments

Comments
 (0)