logging
This commit is contained in:
@@ -11,6 +11,8 @@ services:
|
||||
ports:
|
||||
- "3100:3100"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
promtail:
|
||||
image: grafana/promtail:2.9.8
|
||||
@@ -21,6 +23,8 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: -config.file=/etc/promtail/config.yaml
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:10.4.2
|
||||
@@ -30,7 +34,9 @@ services:
|
||||
volumes:
|
||||
- /srv/docker/daten/grafana/data:/var/lib/grafana
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
prometheus:
|
||||
image: prom/prometheus:v2.52.0
|
||||
container_name: prometheus
|
||||
@@ -40,6 +46,8 @@ services:
|
||||
ports:
|
||||
- "9090:9090"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
pve-exporter:
|
||||
image: ghcr.io/prometheus-pve/prometheus-pve-exporter:latest
|
||||
@@ -51,4 +59,11 @@ services:
|
||||
- "192.168.178.200"
|
||||
ports:
|
||||
- "9221:9221"
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring
|
||||
|
||||
|
||||
networks:
|
||||
monitoring:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user