mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-12-15 03:36:16 +01:00
Update config for ccbackend --init
This commit is contained in:
@@ -28,18 +28,10 @@ SESSION_KEY="67d829bf61dc5f87a73fd814e2c9f629"
|
|||||||
|
|
||||||
const configString = `
|
const configString = `
|
||||||
{
|
{
|
||||||
|
"main": {
|
||||||
"addr": "127.0.0.1:8080",
|
"addr": "127.0.0.1:8080",
|
||||||
"archive": {
|
"short-running-jobs-duration": 300,
|
||||||
"kind": "file",
|
"resampling": {
|
||||||
"path": "./var/job-archive"
|
|
||||||
},
|
|
||||||
"jwts": {
|
|
||||||
"max-age": "2000h"
|
|
||||||
},
|
|
||||||
"apiAllowedIPs": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"enable-resampling": {
|
|
||||||
"trigger": 30,
|
"trigger": 30,
|
||||||
"resolutions": [
|
"resolutions": [
|
||||||
600,
|
600,
|
||||||
@@ -48,30 +40,49 @@ const configString = `
|
|||||||
60
|
60
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"clusters": [
|
"apiAllowedIPs": [
|
||||||
{
|
"*"
|
||||||
"name": "name",
|
],
|
||||||
"metricDataRepository": {
|
"emission-constant": 317
|
||||||
"kind": "cc-metric-store",
|
},
|
||||||
"url": "http://localhost:8082",
|
"cron": {
|
||||||
"token": ""
|
"commit-job-worker": "2m",
|
||||||
},
|
"duration-worker": "5m",
|
||||||
"filterRanges": {
|
"footprint-worker": "10m"
|
||||||
"numNodes": {
|
},
|
||||||
"from": 1,
|
"archive": {
|
||||||
"to": 64
|
"kind": "file",
|
||||||
},
|
"path": "./var/job-archive"
|
||||||
"duration": {
|
},
|
||||||
"from": 0,
|
"auth": {
|
||||||
"to": 86400
|
"jwts": {
|
||||||
},
|
"max-age": "2000h"
|
||||||
"startTime": {
|
}
|
||||||
"from": "2023-01-01T00:00:00Z",
|
},
|
||||||
"to": null
|
"clusters": [
|
||||||
}
|
{
|
||||||
}
|
"name": "name",
|
||||||
}
|
"metricDataRepository": {
|
||||||
]
|
"kind": "cc-metric-store",
|
||||||
|
"url": "http://localhost:8082",
|
||||||
|
"token": ""
|
||||||
|
},
|
||||||
|
"filterRanges": {
|
||||||
|
"numNodes": {
|
||||||
|
"from": 1,
|
||||||
|
"to": 64
|
||||||
|
},
|
||||||
|
"duration": {
|
||||||
|
"from": 0,
|
||||||
|
"to": 86400
|
||||||
|
},
|
||||||
|
"startTime": {
|
||||||
|
"from": "2023-01-01T00:00:00Z",
|
||||||
|
"to": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user