headscale_configuration/docker-compose.yaml
2025-11-26 12:00:42 -05:00

18 lines
554 B
YAML

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 <HEADSCALE_PATH> 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"]