sacrebleu-dns/extra/config.ini.example
Mael G. 43e8ab8210 PostgreSQL Support
Implementation of PostgreSQL database engine in the DNS server using jackc/pgx (as database/sql driver). 
The user can select what database type he want in the config.ini file under the database section.
2020-12-22 14:56:54 -04:00

23 lines
378 B
Plaintext

AppMode = "production" #Anything != production will show DEBUG messages
[App]
IP = ":"
Port = 5354
Logfile = true
Logdir = "/var/log/"
[Database]
IP = "127.0.0.1"
Username = "sacrebleu"
Password = "superSecretPassword"
Port = "3306"
Db = "sacrebleudatabase"
Type = "mysql" #postgresql or mysql
[Redis]
IP = "127.0.0.1"
Port = 6379
Password = ""
Db = 0
Ttl = 10 #In seconds