Files
headscale-webui/docker-compose.yml

13 lines
843 B
YAML

version: "3"
services:
headscale-webui:
image: ghcr.io/ifargle/headscale-webui:latest
container_name: headscale-webui
environment:
- TZ=UTC # Timezone
- HS_SERVER=localhost # Set this to your Headscale server's URL. It will need to access /api/ on Headscale.
- BASE_PATH="/admin" # Default, can be anything you want. Tailscale's Windows app expects "HS_SERVER/admin"
- KEY="YourKeyBetweenQuotes" # Generate with "openssl rand -base64 32"
volumes:
- ./volume:/data # Headscale-WebUI's storage. Make sure ./volume is readable by UID 1000 (chown 1000:1000 ./volume)
- ./headscale/config/:/etc/headscale/:ro # Headscale's config storage location. Used to read your Headscale config.