43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
{
|
|
"cookieSecret": "!!!<<<CHANGEME>>>!!!",
|
|
"jwtSecret": "!!!<<<CHANGEME>>>!!!",
|
|
"baseUrl": "https://portal.example.com/api",
|
|
"mainFrontendUrl": "https://portal.example.com/",
|
|
"mail": {
|
|
"from": "Sender Name <sender@example.com>",
|
|
"smtp" : {
|
|
"host": "mail.example.com",
|
|
"port": 465,
|
|
"starttls": false,
|
|
"username": "sender@example.com",
|
|
"password": "!!!<<<CHANGEME>>>!!!"
|
|
}
|
|
},
|
|
"mongodb": {
|
|
"url": "mongodb://mongo/obs",
|
|
"debug": false
|
|
},
|
|
"postgres": {
|
|
"url": "postgresql+asyncpg://user:pass@host/dbname"
|
|
},
|
|
"redisUrl": "redis://redis",
|
|
"oAuth2Clients": [
|
|
{
|
|
"clientId": "!!!<<<CHANGEME>>>!!!",
|
|
"validRedirectUris": ["https://portal.example.com/redirect"],
|
|
"refreshTokenExpirySeconds": 604800,
|
|
"maxScope": "*",
|
|
"title": "OBS Portal"
|
|
},
|
|
{
|
|
"clientId": "!!!<<<CHANGEME>>>!!!",
|
|
"validRedirectUris": ["__LOCAL__"],
|
|
"maxScope": "track.upload",
|
|
"refreshTokenExpirySeconds": 86400000,
|
|
"title": "OpenBikeSensor"
|
|
}
|
|
],
|
|
"imprintUrl": "https://example.com/imprint",
|
|
"privacyPolicyUrl": "https://example.com/privacy"
|
|
}
|