All checks were successful
farmcontrol/farmcontrol-ws/pipeline/head This commit looks good
87 lines
1.8 KiB
JSON
87 lines
1.8 KiB
JSON
{
|
|
"development": {
|
|
"server": {
|
|
"port": 9090,
|
|
"logLevel": "trace",
|
|
"corsOrigins": [
|
|
"https://web.farmcontrol.app",
|
|
"https://dev.tombutcher.work",
|
|
"http://localhost:5173",
|
|
"http://localhost:3000"
|
|
]
|
|
},
|
|
"auth": {
|
|
"enabled": true,
|
|
"keycloak": {
|
|
"url": "https://auth.tombutcher.work",
|
|
"realm": "master",
|
|
"clientId": "farmcontrol-dev"
|
|
},
|
|
"requiredRoles": []
|
|
},
|
|
"database": {
|
|
"mongo": {
|
|
"url": "mongodb://127.0.0.1:27017/farmcontrol"
|
|
},
|
|
"redis": {
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"password": ""
|
|
}
|
|
},
|
|
"otpExpiryMins": 0.5
|
|
},
|
|
"test": {
|
|
"server": {
|
|
"port": 9091,
|
|
"logLevel": "error"
|
|
},
|
|
"auth": {
|
|
"enabled": false,
|
|
"keycloak": {
|
|
"url": "http://localhost:8080",
|
|
"realm": "test",
|
|
"clientId": "test-client"
|
|
},
|
|
"requiredRoles": []
|
|
},
|
|
"database": {
|
|
"mongo": {
|
|
"url": "mongodb://127.0.0.1:27017/farmcontrol-test"
|
|
},
|
|
"redis": {
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"password": ""
|
|
}
|
|
},
|
|
"otpExpiryMins": 0.5
|
|
},
|
|
"production": {
|
|
"server": {
|
|
"port": 8081,
|
|
"logLevel": "info",
|
|
"corsOrigins": ["https://web.farmcontrol.app"]
|
|
},
|
|
"auth": {
|
|
"enabled": true,
|
|
"keycloak": {
|
|
"url": "https://auth.tombutcher.work",
|
|
"realm": "master",
|
|
"clientId": "farmcontrol-client"
|
|
},
|
|
"requiredRoles": []
|
|
},
|
|
"database": {
|
|
"mongo": {
|
|
"url": "mongodb://192.168.68.38:27017/farmcontrol"
|
|
},
|
|
"redis": {
|
|
"host": "localhost",
|
|
"port": 6379,
|
|
"password": ""
|
|
}
|
|
}
|
|
}
|
|
}
|