Mael GRAMAIN
43e8ab8210
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.
22 lines
378 B
Text
22 lines
378 B
Text
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
|