sacrebleu-dns/extra/config.ini.example
Mael G. 1b00ac0528 Clarification of config example
Since the SQL database port is 3306, the type should be set as "mysql".
2020-12-27 21:18:01 -04:00

25 lines
548 B
Plaintext

app_mode = "production" #Anything != production will show DEBUG messages
[App]
IP = ""
Port = 5353
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/
Username = "sacrebleu"
Password = "superSecretPassword"
Port = "3306"
DB = "sacrebleudatabase"
[Redis]
IP = "127.0.0.1"
Port = 6379
Password = ""
DB = 0
TTL = 10 #In seconds