-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (31 loc) · 1.42 KB
/
Copy path.env.example
File metadata and controls
42 lines (31 loc) · 1.42 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
# Database
# For local development with Docker Compose:
DATABASE_URL="postgresql://flowform:flowform_dev_password@localhost:5432/flowform"
# For production or external database (Neon, Supabase, etc.):
# DATABASE_URL="postgresql://user:password@host:port/database?sslmode=require"
# LLM Configuration
# Supported providers: "openai" | "anthropic"
LLM_PROVIDER="openai"
# Model name for the selected provider
# OpenAI examples: "gpt-4o-mini", "gpt-4o", "gpt-4-turbo"
# Anthropic examples: "claude-3-5-sonnet-20241022", "claude-3-opus-20240229"
LLM_MODEL="gpt-4o-mini"
# OpenAI Configuration
# Get your API key from https://platform.openai.com/api-keys
OPENAI_API_KEY="sk-..."
# Optional: Use a custom OpenAI-compatible endpoint (e.g., Azure OpenAI, local proxy)
# OPENAI_BASE_URL="https://api.openai.com/v1"
# Anthropic Configuration
# Get your API key from https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY="sk-ant-..."
# Optional: Use a custom Anthropic-compatible endpoint
# ANTHROPIC_BASE_URL="https://api.anthropic.com"
# Application Configuration
# Base URL of your application (for embed widget, webhooks, etc.)
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# Session secret for cookie signing (generate with: openssl rand -base64 32)
SESSION_SECRET="change-this-to-a-random-secret-in-production"
# Optional: Log level (debug, info, warn, error)
LOG_LEVEL="info"
# Optional: Enable debug mode for development
# DEBUG="true"