Move env var flag passing to Dockerfile

Updates #15465

Signed-off-by: Kot <kot@kot.pink>
This commit is contained in:
Kot
2025-04-01 21:53:10 -05:00
committed by Brad Fitzpatrick
parent 85bcc2e3bd
commit c86afacf26
3 changed files with 5 additions and 11 deletions
+2 -1
View File
@@ -82,13 +82,14 @@ The `tsidp` server supports several command-line flags:
- `--port`: Port to listen on (default: 443)
- `--local-port`: Allow requests from localhost
- `--use-local-tailscaled`: Use local tailscaled instead of tsnet
- `--hostname`: tsnet hostname
- `--dir`: tsnet state directory
## Environment Variables
- `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" in Docker, otherwise tsnet default)
- `TS_STATE_DIR`: State directory (default: "/var/lib/tsidp")
- `TAILSCALE_USE_WIP_CODE`: Enable work-in-progress code (default: "1")
## Support