Files
headscale-webui/docker-compose.yml
iFargle b97991b073 Test
2023-02-19 19:58:56 +09:00

17 lines
1.2 KiB
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.
- SCRIPT_NAME=/admin # This is your applications base path (wsgi requires the name "SCRIPT_NAME")
- KEY="YourKeyBetweenQuotes" # Generate with "openssl rand -base64 32"
- AUTH_TYPE=Basic # AUTH_TYPE is either "Basic" or "OIDC" - Removing this will disable authentication
- BASIC_AUTH_USER=user # Used for basic auth - Can be omitted if not using Basic Auth
- BASIC_AUTH_PASS=pass # Used for basic auth - Can be omitted if not using Basic Auth
# ENV for OIDC (Used only if AUTH_TYPE is "OIDC")
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.