sacrebleu-dns/extra/config.ini.example

25 lines
548 B
Text
Raw Normal View History

app_mode = "production" #Anything != production will show DEBUG messages
2020-12-13 20:55:27 +01:00
[App]
IP = ""
Port = 5353
2020-12-13 20:55:27 +01:00
Logfile = true
Logdir = "/var/log/"
[Database]
# Type can be either postgresql or mysql
Type = "mysql"
# if type if postgres, you can also connect to the DB with a socket file
Host = "127.0.0.1" # can be either an IP address or a socket, it's often /var/run/postgresql/
2020-12-13 20:55:27 +01:00
Username = "sacrebleu"
Password = "superSecretPassword"
Port = "3306"
DB = "sacrebleudatabase"
2020-12-13 20:55:27 +01:00
[Redis]
IP = "127.0.0.1"
2020-12-13 20:55:27 +01:00
Port = 6379
Password = ""
DB = 0
TTL = 10 #In seconds