Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services:
- headplane:
- # I recommend you pin the version to a specific release
- image: ghcr.io/tale/headplane:0.6.0
- container_name: headplane
- restart: unless-stopped
- ports:
- - '3000:3000'
- volumes:
- - './config.yaml:/etc/headplane/config.yaml'
- # This should match headscale.config_path in your config.yaml
- - './headscale-config/config.yaml:/etc/headscale/config.yaml'
- # If using dns.extra_records in Headscale (recommended), this should
- # match the headscale.dns_records_path in your config.yaml
- - './headscale-config/dns_records.json:/etc/headscale/dns_records.json'
- # Headplane stores its data in this directory
- - './headplane-data:/var/lib/headplane'
- # If you are using the Docker integration, mount the Docker socket
- - '/var/run/docker.sock:/var/run/docker.sock:ro'
- # environment:
- # DISABLE_API_KEY_LOGIN: 'true'
- # ROOT_API_KEY: 'root key'
- headscale:
- image: headscale/headscale:0.26.0
- container_name: headscale
- restart: unless-stopped
- command: serve
- labels:
- # This is needed for Headplane to find it and signal it
- me.tale.headplane.target: headscale
- ports:
- - '8080:8080'
- volumes:
- - './headscale-data:/var/lib/headscal
Advertisement
Add Comment
Please, Sign In to add comment