mailtrain/config/default.toml

57 lines
1.1 KiB
TOML
Raw Normal View History

2016-04-04 12:36:30 +00:00
# If you start out as a root user (eg. if you want to use ports lower than 1000)
# then you can downgrade the user once all services are up and running
#user="nobody"
#group="nogroup"
# Process title visible in monitorin logs and process listing
title="mailtrain"
2016-04-04 12:36:30 +00:00
[log]
level="silly"
[www]
# HTTP port to listen on
port=3000
2016-04-11 03:26:20 +00:00
# HTTP interface to listen on
host="0.0.0.0"
2016-04-04 12:36:30 +00:00
# Secret for signing the session ID cookie
secret="a cat"
# Session length in seconds when "remember me" is checked
remember=2592000 # 30 days
# logger interface
log="dev"
# is the server behind a proxy? true/false
proxy=true
2016-04-13 05:36:55 +00:00
# maximum POST body size
postsize="2MB"
2016-04-04 12:36:30 +00:00
[mysql]
host="localhost"
user="mailtrain"
password="mailtrain"
database="mailtrain"
2016-05-13 08:45:18 +00:00
port=3306 # some installations, eg. MAMP can use a different port (8889)
2016-04-04 12:36:30 +00:00
charset="utf8mb4"
2016-05-03 09:36:06 +00:00
timezone="local"
2016-04-04 12:36:30 +00:00
[redis]
# enable to use Redis session cache or disable if Redis is not installed
enabled=false
host="localhost"
port=6379
db=5
2016-04-11 03:26:20 +00:00
[verp]
enabled=false
port=25
host="0.0.0.0"
2016-04-04 12:36:30 +00:00
[testserver]
enabled=false
port=5587
2016-04-11 03:26:20 +00:00
host="0.0.0.0"
username="testuser"
password="testpass"
logger=false