Speichere Konfiguration in config/config.json
This commit is contained in:
parent
43b3631da2
commit
c38286bcc5
14 changed files with 249 additions and 78 deletions
33
config/config.json
Normal file
33
config/config.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"server": {
|
||||
"listenAddress": "",
|
||||
"listenPort": 8080,
|
||||
"protocol": "https",
|
||||
"domain": "localhost:8080"
|
||||
},
|
||||
"date": {
|
||||
"minuteGranularity": 5
|
||||
},
|
||||
"request": {
|
||||
"secretLength": 15
|
||||
},
|
||||
"mailer": {
|
||||
"type": "Stdout",
|
||||
"fromAddress": "sprechstunden@localhost",
|
||||
"fromName": "Mathebau Sprechstunden <sprechstunden@localhost>",
|
||||
"smtpHost": "localhost",
|
||||
"smtpPort": 25,
|
||||
"smtpUseAuth": false,
|
||||
"smtpIdentity": "",
|
||||
"smtpPassword": ""
|
||||
},
|
||||
"SQL": {
|
||||
"type": "SQLite",
|
||||
"SQLiteFile": "officeHours.db",
|
||||
"mysqlUser": "officeHours",
|
||||
"mysqlPassword": "",
|
||||
"mysqlHost": "localhost",
|
||||
"mysqlPort": 3306,
|
||||
"mysqlDatabase": "officeHours"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue