This commit is contained in:
iFargle
2023-02-17 14:37:15 +09:00
parent 6f9cbaf415
commit b80b81dfde
3 changed files with 17 additions and 28 deletions

View File

@@ -12,10 +12,10 @@ services:
- 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")
- OIDC_DISCOVERY_URL=https://auth.$DOMAIN # Check docs for your OIDC provider for the "Well Known" discovery URL
- OIDC_CLIENT_ID=Headscale WebUI
- OIDC_CLIENT_SECRET=YourOIDCClientSecret
# OIDC Redirect URI: $DOMAIN/$BASE_PATH/auth
- FLASK_OIDC_PROVIDER_NAME="OIDC"
- FLASK_OIDC_CLIENT_ID=Headscale-WebUI
- FLASK_OIDC_CLIENT_SECRET=secret
- FLASK_OIDC_CONFIG_URL=https://auth.$DOMAIN/.well-known/openid-configuration
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.