docker-compose.yml 577 B

12345678910111213141516
  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. # Automatically inherit timezone from host system (works on Linux/Pi)
  11. - /etc/localtime:/etc/localtime:ro
  12. - /etc/timezone:/etc/timezone:ro
  13. devices:
  14. - "/dev/ttyACM0:/dev/ttyACM0"
  15. privileged: true
  16. container_name: dune-weaver