services: dune-weaver: build: . # Uncomment this if you need to build image: ghcr.io/tuanchris/dune-weaver:main # Use latest production image restart: always # ports: # - "8080:8080" # Map port 8080 of the container to 8080 of the host (access via http://localhost:8080) network_mode: "host" # Use host network to access Hyperion on localhost volumes: - .:/app # Mount timezone file from host for Still Sands scheduling - /etc/timezone:/etc/host-timezone:ro # Mount Docker socket to allow host shutdown - /var/run/docker.sock:/var/run/docker.sock:ro # Mount shutdown script - ./shutdown_host.sh:/usr/local/bin/shutdown_host.sh:ro devices: - "/dev/ttyACM0:/dev/ttyACM0" privileged: true container_name: dune-weaver