Pārlūkot izejas kodu

Update raspberrypi-monitoring.yml (#276)

Found that the "machine-id" in the zcube/cadvisor container was failing to read the file from the pi.. I added "- /etc/machine-id:/etc/machine-id:ro" (Line 23) in my yml file and the container no longer gives the error when spinning up the container. Forgive me if this is not the most appropriate way to do this as I am a novice at docker, but I am trying to do my part to help out with this fantastic project!
SteelZ691 3 gadi atpakaļ
vecāks
revīzija
55c9f96d18
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      stack/raspberrypi-monitoring.yml

+ 1 - 0
stack/raspberrypi-monitoring.yml

@@ -20,6 +20,7 @@ services:
       - /var/run:/var/run:rw
       - /sys:/sys:ro
       - /var/lib/docker/:/var/lib/docker:ro
+      - /etc/machine-id:/etc/machine-id:ro
       
   grafana:
     container_name: monitoring-grafana