Monitoring Stack: add prometheus nextcloud exporter

This commit is contained in:
Aroy-Art 2025-05-22 15:39:30 +02:00
parent 451d99fb29
commit 11d4b89a9b
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -83,3 +83,22 @@ services:
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
max-size: "200m"
##############################################
# Prometheus exporter for Nextcloud servers.
# GitHub: https://github.com/xperimental/nextcloud-exporter
##############################################
nextcloud-exporter:
image: ghcr.io/xperimental/nextcloud-exporter
links:
- prometheus
environment:
NEXTCLOUD_SERVER: ${NEXTCLOUD_SERVER}
NEXTCLOUD_AUTH_TOKEN: ${NEXTCLOUD_AUTH_TOKEN}
restart: unless-stopped
logging:
driver: loki
options:
loki-url: "http://localhost:3100/loki/api/v1/push"
max-size: "200m"