- Introduced otpExpiryMins setting to specify the expiration time for OTPs in minutes. - Updated configuration structure to enhance authentication management.
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"development": {
|
|
"server": {
|
|
"port": 9090,
|
|
"logLevel": "trace"
|
|
},
|
|
"auth": {
|
|
"enabled": true,
|
|
"keycloak": {
|
|
"url": "https://auth.tombutcher.work",
|
|
"realm": "master",
|
|
"clientId": "farmcontrol-client",
|
|
"clientSecret": "GPyh59xctRX83yfKWb83ShK6VEwHIvLF"
|
|
},
|
|
"requiredRoles": []
|
|
},
|
|
"database": {
|
|
"etcd": {
|
|
"host": "localhost",
|
|
"port": 2379
|
|
},
|
|
"mongo": {
|
|
"url": "mongodb://192.168.68.53:27017/farmcontrol"
|
|
}
|
|
},
|
|
"otpExpiryMins": 0.5
|
|
},
|
|
"production": {
|
|
"server": {
|
|
"port": 8081,
|
|
"logLevel": "info"
|
|
},
|
|
"auth": {
|
|
"enabled": true,
|
|
"keycloak": {
|
|
"url": "https://auth.tombutcher.work",
|
|
"realm": "master",
|
|
"clientId": "farmcontrol-client",
|
|
"clientSecret": "GPyh59xctRX83yfKWb83ShK6VEwHIvLF"
|
|
},
|
|
"requiredRoles": []
|
|
},
|
|
"database": {
|
|
"etcd": {
|
|
"host": "localhost",
|
|
"port": 2379
|
|
},
|
|
"mongo": {
|
|
"url": "mongodb://farmcontrol.tombutcher.local:27017/farmcontrol"
|
|
}
|
|
}
|
|
}
|
|
}
|