Tuan Nguyen 1 tahun lalu
induk
melakukan
a41fc68f34
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      docker-compose.yml

+ 3 - 0
docker-compose.yml

@@ -5,6 +5,9 @@ services:
       - "8080:8080" # Map port 8080 of the container to 8080 of the host
     volumes:
       - ./theta_rho_files:/app/theta_rho_files # Map host folder to container folder
+    devices:
+      - "/dev/ttyACM0:/dev/ttyACM0"
+    privileged: true
     environment:
       - FLASK_ENV=development # Set environment variables for Flask
     container_name: flask-theta-rho-app