Fordwrench

headscale/headplane docker compose

Jun 29th, 2025
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | Source Code | 0 0
  1. services:
  2. headplane:
  3. # I recommend you pin the version to a specific release
  4. image: ghcr.io/tale/headplane:0.6.0
  5. container_name: headplane
  6. restart: unless-stopped
  7. ports:
  8. - '3000:3000'
  9. volumes:
  10. - './config.yaml:/etc/headplane/config.yaml'
  11. # This should match headscale.config_path in your config.yaml
  12. - './headscale-config/config.yaml:/etc/headscale/config.yaml'
  13.  
  14. # If using dns.extra_records in Headscale (recommended), this should
  15. # match the headscale.dns_records_path in your config.yaml
  16. - './headscale-config/dns_records.json:/etc/headscale/dns_records.json'
  17.  
  18. # Headplane stores its data in this directory
  19. - './headplane-data:/var/lib/headplane'
  20.  
  21. # If you are using the Docker integration, mount the Docker socket
  22. - '/var/run/docker.sock:/var/run/docker.sock:ro'
  23. # environment:
  24. # DISABLE_API_KEY_LOGIN: 'true'
  25. # ROOT_API_KEY: 'root key'
  26. headscale:
  27. image: headscale/headscale:0.26.0
  28. container_name: headscale
  29. restart: unless-stopped
  30. command: serve
  31. labels:
  32. # This is needed for Headplane to find it and signal it
  33. me.tale.headplane.target: headscale
  34. ports:
  35. - '8080:8080'
  36. volumes:
  37. - './headscale-data:/var/lib/headscal
Advertisement
Add Comment
Please, Sign In to add comment