mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-01-15 17:21:46 +01:00
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"main": {
|
|
"addr": "0.0.0.0:443",
|
|
"https-cert-file": "/etc/letsencrypt/live/url/fullchain.pem",
|
|
"https-key-file": "/etc/letsencrypt/live/url/privkey.pem",
|
|
"user": "clustercockpit",
|
|
"group": "clustercockpit",
|
|
"apiAllowedIPs": ["*"],
|
|
"short-running-jobs-duration": 300,
|
|
"enable-job-taggers": true,
|
|
"resampling": {
|
|
"minimumPoints": 600,
|
|
"trigger": 180,
|
|
"resolutions": [240, 60]
|
|
},
|
|
"apiSubjects": {
|
|
"subjectJobEvent": "cc.job.event",
|
|
"subjectNodeState": "cc.node.state"
|
|
}
|
|
},
|
|
"nats": {
|
|
"address": "nats://0.0.0.0:4222",
|
|
"username": "root",
|
|
"password": "root"
|
|
},
|
|
"auth": {
|
|
"jwts": {
|
|
"max-age": "2000h"
|
|
}
|
|
},
|
|
"cron": {
|
|
"commit-job-worker": "1m",
|
|
"duration-worker": "5m",
|
|
"footprint-worker": "10m"
|
|
},
|
|
"archive": {
|
|
"kind": "s3",
|
|
"endpoint": "http://x.x.x.x",
|
|
"bucket": "jobarchive",
|
|
"accessKey": "xx",
|
|
"secretKey": "xx",
|
|
"retention": {
|
|
"policy": "move",
|
|
"age": 365,
|
|
"location": "./var/archive"
|
|
}
|
|
},
|
|
"metric-store": {
|
|
"checkpoints": {
|
|
"interval": "1h"
|
|
},
|
|
"retention-in-memory": "12h",
|
|
"subscriptions": [
|
|
{
|
|
"subscribe-to": "hpc-nats",
|
|
"cluster-tag": "fritz"
|
|
},
|
|
{
|
|
"subscribe-to": "hpc-nats",
|
|
"cluster-tag": "alex"
|
|
}
|
|
]
|
|
},
|
|
"ui-file": "ui-config.json"
|
|
}
|