-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (45 loc) · 2.11 KB
/
.env.example
File metadata and controls
60 lines (45 loc) · 2.11 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
# -----------------------------------------------------------------------------
# Resonate Frontend Environment Variables
# -----------------------------------------------------------------------------
1. resonate-frontend/.env
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL="/dashboard"
NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL="/dashboard"
NEXT_PUBLIC_API_URL=http://localhost:5000/api
# NEXT_PUBLIC_API_URL=http://192.168.0.9:5000/api
NEXT_PUBLIC_SOCKET_URL=http://localhost:5000
NEXT_PUBLIC_FAST_API_URL=http://localhost:8000
# -----------------------------------------------------------------------------
# Resonate Node.js Backend Environment Variables
# -----------------------------------------------------------------------------
2. resonate-backend/resonate-node/.env
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
CLERK_SECRET_KEY=sk_test_...
CLERK_ISSUER_URL=https://your-clerk-issuer.clerk.accounts.dev
ENCRYPTION_ALGORITHM=aes-256-cbc
ENCRYPTION_KEY=your_32_character_random_string
SERVER_PORT=5000
SERVER_NETWORKPORT=192.168.0.7
UPSTASH_REDIS_REST_URL=https://your_upstash_restURL.upstash.io
UPSTASH_REDIS_CONNECTION_STRING=rediss://default:your_upstash_connection_string
# -----------------------------------------------------------------------------
# Resonate ML Backend (Python/FastAPI) Environment Variables
# -----------------------------------------------------------------------------
3. resonate-backend/resonate-ml/.env
ENCRYPTION_ALGORITHM=aes-256-cbc
ENCRYPTION_KEY=your_32_character_random_string
NODE_BACKEND_URL=http://localhost:5000
# OPTION 1: GOOGLE GEMINI + GROQ (CLOUD)
USE_LOCAL_LLM=false
LLM_API_URL=https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
LLM_MODEL_ID=gemini-2.0-flash
RESONATE_GEMINI_KEY=your_gemini_api_key_here
GROQ_WHISPER_KEY=your_groq_api_key_here
# OPTION 2: LOCAL OLLAMA (PRIVACY FOCUSED)
# USE_LOCAL_LLM=true
# LLM_API_URL=http://localhost:11434/v1/chat/completions
# LLM_MODEL_ID=gemma:2b
# LLM_MODEL_ID=llama3.2:3b