diff --git a/README.md b/README.md index 6eebecb..aaea96d 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,25 @@ Located in `./templates` 3. By default, you can access cc-backend in your browser at `http://localhost:8080`. You can shut down the cc-backend server by pressing `CTRL-C`, remember to also shut down all containers via `docker-compose down` afterwards. +## Post-Setup Adjustment for using `influxdb` + +When using `influxdb` containers, one must adjust the following files: +* `cc-backend/var/job-archive/emmy/cluster.json` +* `cc-backend/var/job-archive/woody/cluster.json` + +In the JSON, exchange the content of the `metricDataRepository`-Entry (By default configured for `cc-metric-store`) with: +``` +"metricDataRepository": { + "kind": "influxdb", + "url": "http://localhost:8086", + "token": "egLfcf7fx0FESqFYU3RpAAbj", + "bucket": "ClusterCockpit", + "org": "ClusterCockpit", + "skiptls": false +} +``` + + ## Usage Credentials for the preconfigured demo user are: diff --git a/templates/env.influxdb b/templates/env.influxdb index 77ae2a5..4ab3171 100644 --- a/templates/env.influxdb +++ b/templates/env.influxdb @@ -9,7 +9,7 @@ INFLUXDB_PORT=8086 INFLUXDB_PASSWORD=2RPJpkrduLgkpfQCpcBe1jYv INFLUXDB_ADMIN_TOKEN=egLfcf7fx0FESqFYU3RpAAbj INFLUXDB_ORG=ClusterCockpit -INFLUXDB_BUCKET=ClusterCockpit/data +INFLUXDB_BUCKET=ClusterCockpit # Whether or not to check SSL Cert in Symfony Client, Default: false INFLUXDB_SSL=false