- Add headscale binary and configuration files - Include management scripts for API keys, nodes, and authentication - Add Docker setup with docker-compose - Include backup and restore functionality - Add example scripts for creating API keys and pre-auth keys Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
23 lines
433 B
YAML
23 lines
433 B
YAML
services:
|
|
headscale:
|
|
image: headscale/headscale:latest
|
|
container_name: headscale
|
|
volumes:
|
|
- ./config:/etc/headscale
|
|
- ./data:/var/lib/headscale
|
|
ports:
|
|
- "8080:8080"
|
|
- "9090:9090"
|
|
- "50443:50443"
|
|
command: serve
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
restart: unless-stopped
|
|
networks:
|
|
- shared-net
|
|
|
|
networks:
|
|
shared-net:
|
|
external: true
|
|
|