2021-02-27 12:03:35 +00:00
|
|
|
{
|
2021-02-27 12:06:06 +00:00
|
|
|
"cookieSecret": "CHANGEME!!!!!!!!!!!!!!!!!!!!!11",
|
|
|
|
"jwtSecret": "CHANGEME???????????????????////",
|
2021-02-27 12:20:41 +00:00
|
|
|
"baseUrl": "https://openbikesensor.example.com/",
|
|
|
|
"mainFrontendUrl": "https://openbikesensor.example.com/api/",
|
2021-02-27 12:03:35 +00:00
|
|
|
"mail": {
|
|
|
|
"from": "Sender Name <sender@example.com>",
|
|
|
|
"smtp" : {
|
|
|
|
"host": "mail.example.com",
|
|
|
|
"port": 587,
|
|
|
|
"username": "sender@example.com",
|
|
|
|
"password": "hunter2"
|
|
|
|
}
|
2021-02-27 12:20:41 +00:00
|
|
|
},
|
|
|
|
"mongodb": {
|
|
|
|
"url": "mongodb://user:pass@host/obs",
|
|
|
|
"debug": false
|
2021-02-28 19:19:08 +00:00
|
|
|
},
|
2021-04-19 19:38:51 +00:00
|
|
|
"redisUrl": "redis://localhost",
|
2021-02-28 19:19:08 +00:00
|
|
|
"oAuth2Clients": [
|
|
|
|
{
|
|
|
|
"clientId": "CHANGEME",
|
|
|
|
"validRedirectUris": ["https://site.example.com/redirect"],
|
|
|
|
"refreshTokenExpirySeconds": 604800,
|
|
|
|
"maxScope": "*",
|
|
|
|
"title": "OBS Portal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"clientId": "CHANGEME",
|
|
|
|
"validRedirectUris": ["__LOCAL__"],
|
|
|
|
"maxScope": "track.upload",
|
|
|
|
"refreshTokenExpirySeconds": 86400000,
|
|
|
|
"title": "OpenBikeSensor"
|
|
|
|
}
|
|
|
|
]
|
2021-02-27 12:03:35 +00:00
|
|
|
}
|