-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
37 lines (31 loc) · 1.25 KB
/
.env.example
File metadata and controls
37 lines (31 loc) · 1.25 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
# Privy Configuration
# Get these from https://dashboard.privy.io/
VITE_PRIVY_APP_ID=your-privy-app-id-here
PRIVY_APP_ID=your-privy-app-id-here
PRIVY_APP_SECRET=your-privy-app-secret-here
# Server Configuration
SERVER_BASE_URL=https://your-ngrok-url
MCP_SERVER_URL=https://your-ngrok-url
PORT=3002
NODE_ENV=development
# JWT Keys (RS256)
# Generate with:
# openssl genrsa -out private-key.pem 2048
# openssl rsa -in private-key.pem -pubout -out public-key.pem
# cat private-key.pem | base64
# cat public-key.pem | base64
JWT_PRIVATE_KEY=your-base64-encoded-private-key
JWT_PUBLIC_KEY=your-base64-encoded-public-key
# Protocol API (Index backend)
PROTOCOL_API_URL=https://dev.index.network/api
# Timeouts
PROTOCOL_API_TIMEOUT_MS=60000
PRIVY_TOKEN_EXCHANGE_TIMEOUT_MS=10000
# Content limits
# EXTRACT_INTENT_SECTION_CHAR_LIMIT matches Protocol API's file/URL content truncation (5000 chars per file/URL)
EXTRACT_INTENT_SECTION_CHAR_LIMIT=5000
# EXTRACT_INTENT_INSTRUCTION_CHAR_LIMIT has no hard limit in Protocol API, so using generous 10000
EXTRACT_INTENT_INSTRUCTION_CHAR_LIMIT=10000
# Auth DB info
AUTH_STORAGE_DRIVER=postgres #can be postgres (for db storage) or memory (in-memory store)
DATABASE_URL=postgresql://USER:PASSWORD@ep-xxxx.neon.tech/DBNAME?sslmode=require