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