docker-compose.yml 806 B

1234567891011121314151617181920
  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. network_mode: "host" # Use host network to access Hyperion on localhost
  9. volumes:
  10. - .:/app
  11. # Mount timezone file from host for Still Sands scheduling
  12. - /etc/timezone:/etc/host-timezone:ro
  13. # Mount Docker socket to allow host shutdown
  14. - /var/run/docker.sock:/var/run/docker.sock:ro
  15. # Mount shutdown script
  16. - ./shutdown_host.sh:/usr/local/bin/shutdown_host.sh:ro
  17. devices:
  18. - "/dev/ttyACM0:/dev/ttyACM0"
  19. privileged: true
  20. container_name: dune-weaver