tuanchris il y a 3 mois
Parent
commit
5ffc47cf3f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      docker-compose.yml

+ 2 - 0
docker-compose.yml

@@ -11,6 +11,8 @@ services:
       - /etc/timezone:/etc/host-timezone:ro
       # Mount GPIO memory for hardware access
       - /dev/gpiomem:/dev/gpiomem
+      # Mount device tree for Raspberry Pi detection
+      - /proc/device-tree:/proc/device-tree:ro
     devices:
       - "/dev/ttyACM0:/dev/ttyACM0"
     privileged: true