This repository has been archived on 2026-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
allotment/packages/server/config.json

140 lines
2.9 KiB
JSON

{
"development": {
"server": {
"port": 3001,
"logLevel": "trace"
},
"app": {
"urlClient": "http://localhost:5173"
},
"database": {
"mongo": {
"url": "mongodb://127.0.0.1:27017/toms-allotment"
}
},
"auth": {
"sessionSecret": "replace-with-long-random-string",
"oidc": {
"issuer": "https://auth.tombutcher.work/realms/master",
"clientId": "toms-allotment",
"clientSecret": "fzjKtXLbCvAUJ06ud2jdGe7OAfRSLZx3",
"redirectUri": "http://localhost:5173/auth/callback"
}
},
"device": {
"name": "Allotment node",
"ttnApplicationId": "demo-app",
"ttnDeviceId": "demo-device"
},
"patches": [
"patch-1",
"patch-2",
"patch-3",
"patch-4",
"patch-5",
"patch-6",
"patch-7",
"patch-8",
"patch-9",
"patch-10"
],
"mqtt": {
"configPath": ""
},
"s3": {
"bucket": "toms-allotment",
"region": "auto",
"prefix": "allotment-images",
"endpoint": "https://3ab9dc4af1e6daef8862ed5e0998e845.r2.cloudflarestorage.com",
"forcePathStyle": null,
"accessKeyId": "",
"secretAccessKey": "",
"sessionToken": ""
}
},
"test": {
"server": {
"port": 3002,
"logLevel": "error"
},
"app": {
"urlClient": "http://localhost:5173"
},
"database": {
"mongo": {
"url": "mongodb://127.0.0.1:27017/toms-allotment-test"
}
},
"auth": {
"sessionSecret": "test-session-secret-for-testing-only",
"oidc": {
"issuer": "",
"clientId": "",
"clientSecret": "",
"redirectUri": ""
}
},
"device": {
"name": "Allotment node",
"ttnApplicationId": "demo-app",
"ttnDeviceId": "demo-device"
},
"patches": ["patch-1", "patch-2"],
"mqtt": {
"configPath": ""
},
"s3": {
"bucket": "",
"region": "auto",
"prefix": "allotment-images",
"endpoint": "",
"forcePathStyle": null,
"accessKeyId": "",
"secretAccessKey": "",
"sessionToken": ""
}
},
"production": {
"server": {
"port": 3001,
"logLevel": "info"
},
"app": {
"urlClient": ""
},
"database": {
"mongo": {
"url": ""
}
},
"auth": {
"sessionSecret": "",
"oidc": {
"issuer": "",
"clientId": "",
"clientSecret": "",
"redirectUri": ""
}
},
"device": {
"name": "Allotment node",
"ttnApplicationId": "demo-app",
"ttnDeviceId": "demo-device"
},
"patches": [],
"mqtt": {
"configPath": ""
},
"s3": {
"bucket": "",
"region": "auto",
"prefix": "allotment-images",
"endpoint": "",
"forcePathStyle": null,
"accessKeyId": "",
"secretAccessKey": "",
"sessionToken": ""
}
}
}