1649 files changed
+329897
No files matched your search
Executable
+47
@@ -0,0 +1,47 @@
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
restart: on-failure
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- data:/var/lib/grafana
|
||||
- ./provisioning:/etc/grafana/provisioning:ro
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=nocode
|
||||
- GF_SECURITY_ADMIN_PASSWORD=Pikachu2905
|
||||
depends_on:
|
||||
- prometheus
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
- prometheus:/prometheus
|
||||
|
||||
# métriques de la machine hôte (CPU, RAM, disques, réseau)
|
||||
node-exporter:
|
||||
image: prom/node-exporter
|
||||
restart: unless-stopped
|
||||
command: --path.rootfs=/host
|
||||
pid: host
|
||||
volumes:
|
||||
- /:/host:ro,rslave
|
||||
|
||||
# métriques par conteneur (jellyfin, arr, netbox...)
|
||||
cadvisor:
|
||||
image: gcr.io/cadvisor/cadvisor:v0.49.1
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
devices:
|
||||
- /dev/kmsg
|
||||
volumes:
|
||||
- /:/rootfs:ro
|
||||
- /var/run:/var/run:ro
|
||||
- /sys:/sys:ro
|
||||
- /var/lib/docker:/var/lib/docker:ro
|
||||
|
||||
volumes:
|
||||
data:
|
||||
prometheus:
|
||||
Reference in new issue
Block a user