2020-12-25 02:31:28 +01:00
|
|
|
app_mode = "production" #Anything != production will show DEBUG messages
|
2020-12-13 15:55:27 -04:00
|
|
|
|
|
|
|
[App]
|
2020-12-22 21:26:39 -04:00
|
|
|
IP = ""
|
2020-12-22 21:02:13 -04:00
|
|
|
Port = 5353
|
2020-12-13 15:55:27 -04:00
|
|
|
Logfile = true
|
|
|
|
Logdir = "/var/log/"
|
|
|
|
|
|
|
|
[Database]
|
2020-12-25 03:06:20 +01:00
|
|
|
# Type can be either postgresql or mysql
|
2020-12-27 21:18:01 -04: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 15:55:27 -04:00
|
|
|
Username = "sacrebleu"
|
|
|
|
Password = "superSecretPassword"
|
|
|
|
Port = "3306"
|
2020-12-25 02:31:28 +01:00
|
|
|
DB = "sacrebleudatabase"
|
2020-12-13 15:55:27 -04:00
|
|
|
|
|
|
|
[Redis]
|
2020-12-21 23:12:02 -04:00
|
|
|
IP = "127.0.0.1"
|
2020-12-13 15:55:27 -04:00
|
|
|
Port = 6379
|
|
|
|
Password = ""
|
2020-12-25 02:31:28 +01:00
|
|
|
DB = 0
|
|
|
|
TTL = 10 #In seconds
|