-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
45 lines (38 loc) · 2.13 KB
/
Copy pathenv.example
File metadata and controls
45 lines (38 loc) · 2.13 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
# Firebase Configuration (Client-side)
# Get these from Firebase Console > Project Settings > General
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
# Firebase Admin SDK (Server-side - for API routes)
# Get this from Firebase Console > Project Settings > Service Accounts > Generate new private key
# Copy the ENTIRE contents of the downloaded JSON file as a single-line string
# Example: {"type":"service_account","project_id":"your-project",...}
FIREBASE_ADMIN_CREDENTIALS={"type":"service_account","project_id":"your_project_id","private_key_id":"...","private_key":"-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n","client_email":"...","client_id":"...","auth_uri":"...","token_uri":"...","auth_provider_x509_cert_url":"...","client_x509_cert_url":"...","universe_domain":"googleapis.com"}
# Google Gemini API
# Get this from Google AI Studio: https://makersuite.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key
# Admin Console Configuration
# Set secure credentials for admin access
ADMIN_USERNAME=your_secure_admin_username
ADMIN_PASSWORD=your_secure_admin_password
ADMIN_SESSION_SECRET=your_random_secret_key_min_32_characters
# Passkey / WebAuthn Configuration
# JWT secret for session management (generate a secure random string)
JWT_SECRET=your_jwt_secret_key_min_32_characters_long
# App name shown in passkey prompts
NEXT_PUBLIC_APP_NAME=Penny AI
# Relying Party ID (RP ID) - MUST match your domain exactly
# Development: localhost
# Production: your-app.vercel.app (or your custom domain)
# Example for penny-amber.vercel.app deployment:
# NEXT_PUBLIC_RP_ID=penny-amber.vercel.app
NEXT_PUBLIC_RP_ID=localhost
# App URL - Full URL with protocol
# Development: http://localhost:3000
# Production: https://your-app.vercel.app
# Example for penny-amber.vercel.app deployment:
# NEXT_PUBLIC_APP_URL=https://penny-amber.vercel.app
NEXT_PUBLIC_APP_URL=http://localhost:3000