Open History to see the last commit
1# Required: Relay API and managed tunnel domains
2# Production adopts retained DNS zones in your Cloudflare account. The API
3# zone serves relay.<zone> in production and relay-<stage>.<zone> for personal
4# stages. Managed environment endpoints are provisioned below the tunnel zone.
5RELAY_API_ZONE_NAME=example.com
6RELAY_TUNNEL_ZONE_NAME=tunnels.example.com
7
8# Optional: inactive tunnel cleanup. Start with dry-run, verify the cleanup
9# logs, then set enabled. Unset and off both disable cleanup.
10# RELAY_TUNNEL_CLEANUP_MODE=off
11
12# Optional: Relay domain override
13# Set this only when the derived relay hostname should not be used.
14# RELAY_DOMAIN=relay.example.com
15
16# Required: Clerk
17# Get the keys from the Clerk Dashboard under API keys. Set the JWT audience to
18# the `aud` claim configured on the `t3-relay` JWT template.
19CLERK_PUBLISHABLE_KEY=pk_test_...
20CLERK_SECRET_KEY=sk_test_...
21CLERK_JWT_AUDIENCE=t3-code-relay
22
23# Apple Push Notification service (required unless APNS_ENABLED=false)
24# Set APNS_ENABLED=false for an Android-only development relay.
25# Get these values from your Apple Developer account. Use `sandbox` for
26# development APNs credentials and `production` for production credentials.
27APNS_ENVIRONMENT=sandbox
28APNS_TEAM_ID=...
29APNS_KEY_ID=...
30APNS_BUNDLE_ID=...
31APNS_PRIVATE_KEY=...
32
33# Optional: Android push. Set this secret to the service account JSON from
34# Firebase Project settings > Service accounts. Never put it in an app build.
35# FCM_SERVICE_ACCOUNT={...}