obs-portal/api/config.json.example

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-02-27 12:03:35 +00:00
{
2021-09-27 16:54:02 +00:00
"cookieSecret": "!!!<<<CHANGEME>>>!!!",
"jwtSecret": "!!!<<<CHANGEME>>>!!!",
2021-10-20 17:27:28 +00:00
"baseUrl": "https://portal.example.com/api",
2021-09-27 16:54:02 +00:00
"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",
"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-09-27 16:54:02 +00:00
"redisUrl": "redis://redis",
"oAuth2Clients": [
{
2021-09-27 16:54:02 +00:00
"clientId": "!!!<<<CHANGEME>>>!!!",
"validRedirectUris": ["https://portal.example.com/redirect"],
"refreshTokenExpirySeconds": 604800,
"maxScope": "*",
"title": "OBS Portal"
},
{
2021-09-27 16:54:02 +00:00
"clientId": "!!!<<<CHANGEME>>>!!!",
"validRedirectUris": ["__LOCAL__"],
"maxScope": "track.upload",
"refreshTokenExpirySeconds": 86400000,
"title": "OpenBikeSensor"
}
],
"imprintUrl": "https://example.com/imprint",
"privacyPolicyUrl": "https://example.com/privacy"
2021-02-27 12:03:35 +00:00
}