cmd/tsidp: use advertised env vars for config

Fixes #14491

Signed-off-by: Kot <kot@kot.pink>
This commit is contained in:
Kot
2025-03-28 14:17:13 -07:00
committed by Brad Fitzpatrick
parent 65c7a37bc6
commit 85bcc2e3bd
3 changed files with 15 additions and 7 deletions
+3 -3
View File
@@ -38,7 +38,7 @@
--name `tsidp` \
-p 443:443 \
-e TS_AUTHKEY=YOUR_TAILSCALE_AUTHKEY \
-e TS_HOSTNAME=tsidp \
-e TS_HOSTNAME=idp \
-v tsidp-data:/var/lib/tsidp \
tsidp:latest
```
@@ -88,7 +88,7 @@ The `tsidp` server supports several command-line flags:
- `TS_AUTHKEY`: Your Tailscale authentication key (required)
- `TS_HOSTNAME`: Hostname for the `tsidp` server (default: "idp")
- `TS_STATE_DIR`: State directory (default: "/var/lib/tsidp")
- `TS_STATE_DIR`: State directory (default: "/var/lib/tsidp" in Docker, otherwise tsnet default)
- `TAILSCALE_USE_WIP_CODE`: Enable work-in-progress code (default: "1")
## Support
@@ -97,4 +97,4 @@ This is an [experimental](https://tailscale.com/kb/1167/release-stages#experimen
## License
BSD-3-Clause License. See [LICENSE](../../LICENSE) for details.
BSD-3-Clause License. See [LICENSE](../../LICENSE) for details.