-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
94 lines (71 loc) · 2.99 KB
/
.env.example
File metadata and controls
94 lines (71 loc) · 2.99 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# ==============================================
# ClerkTree Frontend Environment Configuration
# ==============================================
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# ==============================================
# ==============================================
# FRONTEND PUBLIC CONFIG (Required)
# ==============================================
# Supabase Configuration
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-supabase-anon-key
# ==============================================
# API ENDPOINTS (Production URLs)
# ==============================================
# Backend API Base URL (REQUIRED)
VITE_API_BASE_URL=https://your-backend-url.com/
# Local TTS Server URL (optional - only if using local TTS)
# VITE_TTS_API_URL=http://localhost:5001
# Optional override if your deployed frontend does not expose the
# ElevenLabs signed URL proxy on the same origin.
# VITE_ELEVENLABS_SIGNED_URL_ENDPOINT=https://your-backend-url.com/api/elevenlabs-signed-url
# Optional public ElevenLabs agent ID. The frontend can pass this to the
# signed URL proxy when the server does not have an agent ID configured.
# VITE_ELEVENLABS_AGENT_ID=your-elevenlabs-agent-id
# ==============================================
# AI MODEL CONFIGURATION (Frontend only)
# ==============================================
# Groq TTS Model
VITE_GROQ_TTS_MODEL=canopylabs/orpheus-v1-english
# ==============================================
# SERVER-SIDE SECRETS (DO NOT PREFIX WITH VITE_)
# ==============================================
# Configure these in Supabase Edge Function secrets / backend env:
# GROQ_API_KEY=...
# ELEVENLABS_API_KEY=...
# GEMINI_API_KEY=...
# RAZORPAY_KEY_ID=...
# RAZORPAY_KEY_SECRET=...
# ==============================================
# BRAND CONFIGURATION
# ==============================================
# Base URL for canonical links and SEO
VITE_BASE_URL=https://clerktree.com
# API Documentation Base URL
VITE_API_DOCS_BASE_URL=https://api.clerktree.com
# Contact Email
VITE_CONTACT_EMAIL=team@clerktree.com
# ==============================================
# TIMEOUTS (in milliseconds)
# ==============================================
# Groq API request timeout (default: 60000 = 1 minute)
# VITE_TIMEOUT_GROQ=60000
# Local LLM request timeout (default: 120000 = 2 minutes)
# VITE_TIMEOUT_LOCAL_LLM=120000
# TTS request timeout (default: 30000 = 30 seconds)
# VITE_TIMEOUT_TTS=30000
# Data refetch interval (default: 30000 = 30 seconds)
# VITE_REFETCH_INTERVAL=30000
# ==============================================
# FEATURE FLAGS (optional)
# ==============================================
# Enable/disable specific features
# VITE_ENABLE_LOCAL_LLM=true
# VITE_ENABLE_DEBUG_MODE=false
# VITE_ENABLE_ANALYTICS=true
# ==============================================
# OBSERVABILITY
# ==============================================
# Sentry DSN (for error tracking)
VITE_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0