Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

.env.example

31 lines1.3 KB

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: Relay domain override
9# Set this only when the derived relay hostname should not be used.
10# RELAY_DOMAIN=relay.example.com
11​
12# Required: Clerk
13# Get the keys from the Clerk Dashboard under API keys. Set the JWT audience to
14# the `aud` claim configured on the `t3-relay` JWT template.
15CLERK_PUBLISHABLE_KEY=pk_test_...
16CLERK_SECRET_KEY=sk_test_...
17CLERK_JWT_AUDIENCE=t3-code-relay
18​
19# Apple Push Notification service (required unless APNS_ENABLED=false)
20# Set APNS_ENABLED=false for an Android-only development relay.
21# Get these values from your Apple Developer account. Use `sandbox` for
22# development APNs credentials and `production` for production credentials.
23APNS_ENVIRONMENT=sandbox
24APNS_TEAM_ID=...
25APNS_KEY_ID=...
26APNS_BUNDLE_ID=...
27APNS_PRIVATE_KEY=...
28​
29# Optional: Android push. Set this secret to the service account JSON from
30# Firebase Project settings > Service accounts. Never put it in an app build.
31# FCM_SERVICE_ACCOUNT={...}