Files
cms-client/.env.example
Noa Virellia 21b239492e
All checks were successful
Client Check Build (NixCN CMS) TeamCity build finished
chore(container): add build ARGs for Sentry and Turnstile env vars
Declare build-time ARG instructions for PUBLIC_TURNSTILE_SITE_KEY,
VITE_SENTRY_DSN, SENTRY_DSN, SENTRY_ORG, SENTRY_PROJECT, and
SENTRY_AUTH_TOKEN so CI can pass them via --build-arg. TURNSTILE_SECRET_KEY
and SENTRY_DSN are runtime-only and injected via -e at container run time.
Also removes TURNSTILE_SECRET_KEY from .env.example (runtime secret,
not a build-time value).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 16:56:40 +08:00

14 lines
515 B
Plaintext

# Backend API is proxied through the same origin as the SvelteKit app
# (Vite dev proxy in dev, Caddy in prod — see vite.config.ts / Caddyfile).
# No API_BASE_URL override needed.
PUBLIC_TURNSTILE_SITE_KEY=0x4AAAAAACI5pu-lNWFc6Wu1
# Sentry — error monitoring, tracing, session replay, logging
# VITE_SENTRY_DSN is public (bundled into the browser build)
VITE_SENTRY_DSN=
SENTRY_DSN=
SENTRY_ORG=
SENTRY_PROJECT=
# SENTRY_AUTH_TOKEN is secret; never commit it — use CI secrets or .env.local
SENTRY_AUTH_TOKEN=