docs: format readme

This commit is contained in:
2026-09-17 15:24:48 +02:00
parent 768531d1a2
commit f9203e5d7f
+10 -3
View File
@@ -131,14 +131,21 @@ To disable dashboard app (since it is so corporate):
## Metrics
There is a [metrics exporter](https://github.com/xperimental/nextcloud-exporter) that can be run as sidecar container, also part of the nextcloud helm charts. Its configured via alloys label-based auto-discovery provided by the updated [monitoring-stack](https://git.coopcloud.tech/coop-cloud/monitoring-ng)
There is a [metrics exporter](https://github.com/xperimental/nextcloud-exporter)
that can be run as sidecar container, also part of the nextcloud helm charts.
Its configured via alloys label-based auto-discovery provided by the updated
[monitoring-stack](https://git.coopcloud.tech/coop-cloud/monitoring-ng).
To enable, uncomment
```
COMPOSE_FILE="$COMPOSE_FILE:compose.metrics.yml"
SECRET_METRICS_TOKEN_VERSION=v1 # length=32 charset=hex
```
then generate the secret with abra and run
`abra app cmd <domain> app set_metrics_token`
then generate the secret with abra and insert it via `set_metrics_token`
```
abra app secret generate <domain> metrics_token
abra app cmd <domain> app set_metrics_token
```
## Upgrading Nextcloud