added rpi monitor stack fix

This commit is contained in:
novaspirit
2021-10-07 18:21:46 -04:00
parent 187fbf526e
commit bdc602de3c

View File

@@ -9,8 +9,8 @@ services:
hostname: rpi-cadvisor
image: braingamer/cadvisor-arm:latest
ipc: shareable
networks:
- rpimonitor_default
# networks:
# - rpimonitor_default
privileged: true
restart: unless-stopped
security_opt:
@@ -33,8 +33,8 @@ services:
- GF_PATHS_PROVISIONING=/etc/grafana/provisioning
hostname: rpi-grafana
image: grafana/grafana:latest
networks:
- rpimonitor_default
# networks:
# - rpimonitor_default
ports:
- 3000:3000
restart: unless-stopped
@@ -50,8 +50,8 @@ services:
- 9100
hostname: rpi-exporter
image: prom/node-exporter:latest
networks:
- rpimonitor_default
# networks:
# - rpimonitor_default
restart: unless-stopped
prometheus:
@@ -63,8 +63,8 @@ services:
- 9090
hostname: rpi-prom
image: prom/prometheus:latest
networks:
- rpimonitor_default
# networks:
# - rpimonitor_default
restart: unless-stopped
volumes:
# to be modified depending on your needs
@@ -74,6 +74,6 @@ services:
- cadvisor:cadvisor
- node-exporter:node-exporter
networks:
rpimonitor_default:
external: true
#networks:
# rpimonitor_default:
# external: true