-
-
Notifications
You must be signed in to change notification settings - Fork 284
Expand file tree
/
Copy path.env.example
More file actions
69 lines (54 loc) · 2.94 KB
/
Copy path.env.example
File metadata and controls
69 lines (54 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Git City - Environment Variables
# Copy this file to .env.local and fill in your values
# App
NEXT_PUBLIC_BASE_URL=http://localhost:3001
# Supabase
# Find these in Supabase: Project Settings -> API
NEXT_PUBLIC_SUPABASE_URL=https://domain.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# Comma-separated GitHub usernames that may access /admin/ads
ADMIN_GITHUB_LOGINS=your-github-login
# Same list, exposed to the client so the in-game arcade Editor button is hidden
# from non-admins. Server enforcement still uses ADMIN_GITHUB_LOGINS above.
NEXT_PUBLIC_ADMIN_GITHUB_LOGINS=your-github-login
# PartyKit host (multiplayer arcade). Local dev defaults to localhost:1999.
NEXT_PUBLIC_PARTYKIT_HOST=localhost:1999
# Arcade asset base URL. Leave empty for local dev (serves from /public/cozy/).
# In production, point to the Supabase Storage public URL for the arcade-assets
# bucket, e.g. https://<project>.supabase.co/storage/v1/object/public/arcade-assets
NEXT_PUBLIC_COZY_BASE_URL=
# Cosmetic GLB models base URL. Leave empty for local dev (serves from /public/models/).
# In production, point to the Supabase Storage public URL for the cosmetic-models
# bucket, e.g. https://<project>.supabase.co/storage/v1/object/public/cosmetic-models
# Models are uploaded with scripts/upload-cosmetic-models.mjs (kept out of git).
NEXT_PUBLIC_MODELS_BASE_URL=
# Bearer token for the admin /api/arcade/rooms/[slug] POST invalidate endpoint
ARCADE_ADMIN_KEY=
# GitHub (personal access token for API calls)
# Create one in GitHub: Settings -> Developer settings -> Personal access tokens
GITHUB_TOKEN=ghp_your-github-token
# Stripe (optional - only needed for payments)
STRIPE_SECRET_KEY=sk_test_your-stripe-key
STRIPE_WEBHOOK_SECRET=whsec_your-webhook-secret
# AbacatePay (optional - BRL payments)
ABACATEPAY_API_KEY=abc_dev_your-key
ABACATEPAY_WEBHOOK_SECRET=your-webhook-secret
# GITC token & Exchange (optional - crypto payments + in-city swap on Base)
NEXT_PUBLIC_REOWN_PROJECT_ID= # Reown/WalletConnect project id (free at dashboard.reown.com)
NEXT_PUBLIC_GITC_TREASURY_ADDRESS= # 0x… wallet that receives GITC payments
NEXT_PUBLIC_ALCHEMY_API_KEY= # Optional. Browser RPC for Base (best uptime)
ALCHEMY_API_KEY= # Optional. Server RPC for Base
# Native in-city USDC/ETH → GITC swap (0x Swap API v2). Free key at dashboard.0x.org.
# Without it, the Exchange screen falls back to a Uniswap deep-link automatically.
ZEROX_API_KEY=
# Himetrica (optional - analytics)
NEXT_PUBLIC_HIMETRICA_API_KEY=hm_your-api-key
# Resend (optional - ad expiry emails)
RESEND_API_KEY=re_your-resend-key
# Vercel Cron secret
CRON_SECRET=your-cron-secret
# Email notifications
UNSUBSCRIBE_HMAC_SECRET= # Required. 32+ char secret for unsubscribe link tokens
RESEND_WEBHOOK_SECRET=whsec_ # Required. Svix signing secret from Resend webhook settings
ADMIN_NOTIFICATION_EMAIL= # Optional. Falls back to admin dev email from DB