From c2d004a20e4bf66fcc7f10a8d1e658c8ef57342d Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 2 Jun 2026 17:51:00 -0700 Subject: [PATCH] docs(relay): clarify deployment environment variables Co-authored-by: codex --- infra/relay/.env.example | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/infra/relay/.env.example b/infra/relay/.env.example index a227a15706..0e5f015c25 100644 --- a/infra/relay/.env.example +++ b/infra/relay/.env.example @@ -1,12 +1,20 @@ -# Relay deployment configuration. Production derives relay.; personal -# stages derive relay-., matching Alchemy resource naming. +# Required: Relay domain +# Use the DNS zone managed in your Cloudflare account. Production deploys use +# relay.; personal stages use relay-.. T3_RELAY_ZONE_NAME=example.com -# Optional explicit public relay domain override. -# T3_RELAY_DOMAIN=relay.example.com -T3CODE_CLERK_PUBLISHABLE_KEY=pk_test_... -# Relay runtime secrets and APNs configuration. +# Optional: Relay domain override +# Set this only when the derived relay hostname should not be used. +# T3_RELAY_DOMAIN=relay.example.com + +# Required: Clerk +# Get both values from the Clerk Dashboard under API keys. +T3CODE_CLERK_PUBLISHABLE_KEY=pk_test_... CLERK_SECRET_KEY=sk_test_... + +# Required: Apple Push Notification service +# Get these values from your Apple Developer account. Use `sandbox` for +# development APNs credentials and `production` for production credentials. APNS_ENVIRONMENT=sandbox APNS_TEAM_ID=... APNS_KEY_ID=...