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

View File

@@ -31,11 +31,11 @@ WORKDIR /app
# Environment variables
ENV TAILSCALE_USE_WIP_CODE=1 \
TS_HOSTNAME=tsidp \
TS_HOSTNAME=idp \
TS_STATE_DIR=/var/lib/tsidp
# Expose the default port
EXPOSE 443
# Run the application
ENTRYPOINT ["/app/tsidp"]
ENTRYPOINT ["/app/tsidp"]