version: "3" services: headscale: image: docker.io/headscale/headscale:v0.27.1-debug restart: unless-stopped container_name: headscale ports: - "0.0.0.0:8100:8100" - "127.0.0.1:9090:9090" volumes: # Please set to the absolute path # of the previously created headscale directory. - /etc/headscale:/etc/headscale - /var/lib/headscale:/var/lib/headscale - /var/run/headscale:/var/run/headscale command: serve healthcheck: test: ["CMD", "headscale", "health"]