-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.env.example
More file actions
46 lines (40 loc) · 1.64 KB
/
.env.example
File metadata and controls
46 lines (40 loc) · 1.64 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
# Port Configuration (optional - defaults shown)
PORT=3000
POSTGRES_PORT=5434
S3_API_PORT=9000
S3_CONSOLE_PORT=9001
# Application URL (required for OAuth redirects in production)
# Development: defaults to http://localhost:3000 if not set
# Production: REQUIRED - set to your public URL (e.g., https://myapp.com)
NEXT_PUBLIC_APP_URL=http://localhost:${PORT}
NEXT_PUBLIC_API_BASE_URL=http://localhost:${PORT}/api/agent
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_DB=mydb
DATABASE_URL=postgresql://user:password@localhost:${POSTGRES_PORT}/mydb?schema=public
GOOGLE_API_KEY=your_google_api_key_here
OPENAI_API_KEY=your_openai_api_key_here
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# S3-Compatible Object Storage Configuration
# Development: MinIO (local Docker)
# Production: AWS S3, Cloudflare R2, or other S3-compatible service
S3_ENDPOINT=http://localhost:${S3_API_PORT}
S3_ACCESS_KEY_ID=minioadmin
S3_SECRET_ACCESS_KEY=minioadmin
S3_BUCKET_NAME=uploads
S3_REGION=us-east-1
S3_FORCE_PATH_STYLE=true # Required for MinIO, false for AWS S3
# For production with AWS S3, update to:
# S3_ENDPOINT= # Leave empty for AWS S3
# S3_ACCESS_KEY_ID=your_aws_access_key
# S3_SECRET_ACCESS_KEY=your_aws_secret_key
# S3_FORCE_PATH_STYLE=false
# Langfuse Observability (optional)
# Set LANGFUSE_ENABLED=true and provide your API keys to enable LLM tracing.
# Cloud: https://cloud.langfuse.com
# Self-hosted: point LANGFUSE_BASE_URL to your own instance (e.g. http://localhost:3030)
# See docs/OBSERVABILITY.md for setup instructions.
LANGFUSE_ENABLED=false
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_BASE_URL="https://cloud.langfuse.com"