2020-12-25 02:31:28 +01:00
|
|
|
app_mode = "production" #Anything != production will show DEBUG messages
|
2020-12-13 20:55:27 +01:00
|
|
|
|
|
|
|
[App]
|
2020-12-23 02:26:39 +01:00
|
|
|
IP = ""
|
2020-12-23 02:02:13 +01:00
|
|
|
Port = 5353
|
2020-12-13 20:55:27 +01:00
|
|
|
Logfile = true
|
|
|
|
Logdir = "/var/log/"
|
|
|
|
|
|
|
|
[Database]
|
2020-12-25 03:06:20 +01:00
|
|
|
# Type can be either postgresql or mysql
|
2020-12-28 02:18:01 +01:00
|
|
|
Type = "mysql"
|
2020-12-25 03:06:20 +01:00
|
|
|
# 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"
|
2020-12-25 02:31:28 +01:00
|
|
|
DB = "sacrebleudatabase"
|
2020-12-13 20:55:27 +01:00
|
|
|
|
|
|
|
[Redis]
|
2020-12-22 04:12:02 +01:00
|
|
|
IP = "127.0.0.1"
|
2020-12-13 20:55:27 +01:00
|
|
|
Port = 6379
|
|
|
|
Password = ""
|
2020-12-25 02:31:28 +01:00
|
|
|
DB = 0
|
|
|
|
TTL = 10 #In seconds
|
2021-01-03 20:17:01 +01:00
|
|
|
|
|
|
|
[Dns]
|
|
|
|
XfrIPs = ["*"] #Array of slaves IPs
|
|
|
|
Nameservers = ["ns1.example.org", "ns2.example.org", "ns1.example.com"] #Arry of NS urls. (the first one is the master)
|