-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
37 lines (30 loc) · 1.53 KB
/
env.example
File metadata and controls
37 lines (30 loc) · 1.53 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
# Environment configuration template
# Copy this file to `.env.local` (Next.js) or simply `.env` and fill in the values.
# ---------------------------------------------------------------------------
# OpenAI
# ---------------------------------------------------------------------------
# Your OpenAI API key – REQUIRED
OPENAI_API_KEY="sk-..."
# Default vector store (optional on first run; setup-vector-store script will create one)
DEFAULT_VECTOR_STORE_ID=
# ---------------------------------------------------------------------------
# Redis (Upstash) – optional for shared caching. Remove if not using Redis.
# ---------------------------------------------------------------------------
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# ---------------------------------------------------------------------------
# Database (Prisma)
# ---------------------------------------------------------------------------
# Database provider: "sqlite" for local development, "postgresql" for production
DATABASE_PROVIDER="sqlite"
# Database connection string
# For local development (SQLite): file:./dev.db
# For production (PostgreSQL): postgresql://user:password@host:5432/database?sslmode=require
DATABASE_URL="file:./dev.db"
# ---------------------------------------------------------------------------
# Logging
# ---------------------------------------------------------------------------
# LOG_LEVEL: trace | debug | info | warn | error | fatal | silent
LOG_LEVEL=info
# Set DEBUG="true" to force debug-level output even in production (optional)
DEBUG=false