2021-02-27 12:03:35 +00:00
|
|
|
{
|
2021-09-27 16:54:02 +00:00
|
|
|
"cookieSecret": "!!!<<<CHANGEME>>>!!!",
|
|
|
|
"jwtSecret": "!!!<<<CHANGEME>>>!!!",
|
|
|
|
"baseUrl": "https://api.example.com/",
|
|
|
|
"mainFrontendUrl": "https://portal.example.com/",
|
2021-02-27 12:03:35 +00:00
|
|
|
"mail": {
|
|
|
|
"from": "Sender Name <sender@example.com>",
|
|
|
|
"smtp" : {
|
|
|
|
"host": "mail.example.com",
|
2021-06-30 20:01:01 +00:00
|
|
|
"port": 465,
|
|
|
|
"starttls": false,
|
2021-02-27 12:03:35 +00:00
|
|
|
"username": "sender@example.com",
|
2021-09-27 16:54:02 +00:00
|
|
|
"password": "!!!<<<CHANGEME>>>!!!"
|
2021-02-27 12:03:35 +00:00
|
|
|
}
|
2021-02-27 12:20:41 +00:00
|
|
|
},
|
|
|
|
"mongodb": {
|
2021-09-27 16:54:02 +00:00
|
|
|
"url": "mongodb://mongo/obs",
|
2021-02-27 12:20:41 +00:00
|
|
|
"debug": false
|
2021-02-28 19:19:08 +00:00
|
|
|
},
|
2021-09-27 16:54:02 +00:00
|
|
|
"redisUrl": "redis://redis",
|
2021-02-28 19:19:08 +00:00
|
|
|
"oAuth2Clients": [
|
|
|
|
{
|
2021-09-27 16:54:02 +00:00
|
|
|
"clientId": "!!!<<<CHANGEME>>>!!!",
|
|
|
|
"validRedirectUris": ["https://portal.example.com/redirect"],
|
2021-02-28 19:19:08 +00:00
|
|
|
"refreshTokenExpirySeconds": 604800,
|
|
|
|
"maxScope": "*",
|
|
|
|
"title": "OBS Portal"
|
|
|
|
},
|
|
|
|
{
|
2021-09-27 16:54:02 +00:00
|
|
|
"clientId": "!!!<<<CHANGEME>>>!!!",
|
2021-02-28 19:19:08 +00:00
|
|
|
"validRedirectUris": ["__LOCAL__"],
|
|
|
|
"maxScope": "track.upload",
|
|
|
|
"refreshTokenExpirySeconds": 86400000,
|
|
|
|
"title": "OpenBikeSensor"
|
|
|
|
}
|
2021-05-15 12:03:44 +00:00
|
|
|
],
|
|
|
|
"imprintUrl": "https://example.com/imprint",
|
|
|
|
"privacyPolicyUrl": "https://example.com/privacy"
|
2021-02-27 12:03:35 +00:00
|
|
|
}
|