docker-compose.yml 610 B

1234567891011121314151617
  1. services:
  2. dune-weaver:
  3. build: . # Uncomment this if you need to build
  4. image: ghcr.io/tuanchris/dune-weaver:main # Use latest production image
  5. restart: always
  6. ports:
  7. - "8080:8080" # Map port 8080 of the container to 8080 of the host (access via http://localhost:8080)
  8. volumes:
  9. - .:/app
  10. # Mount timezone file from host for Still Sands scheduling
  11. - /etc/timezone:/etc/host-timezone:ro
  12. # Mount GPIO memory for hardware access
  13. - /dev/gpiomem:/dev/gpiomem
  14. devices:
  15. - "/dev/ttyACM0:/dev/ttyACM0"
  16. privileged: true
  17. container_name: dune-weaver