-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (44 loc) · 1.67 KB
/
.env.example
File metadata and controls
55 lines (44 loc) · 1.67 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
47
48
49
50
51
52
53
54
55
# ===========================================
# FanFic Lab - Environment Variables
# ===========================================
# Copy this file to .env.local and fill in your values
# Database (Neon PostgreSQL)
# Get from: https://neon.tech
DATABASE_URL="postgresql://user:password@host.neon.tech/fanficlab?sslmode=require"
DATABASE_URL_UNPOOLED="postgresql://user:password@host.neon.tech/fanficlab?sslmode=require"
# Redis (Upstash)
# Get from: https://upstash.com
REDIS_URL="redis://default:xxx@redis-xxx.upstash.io:6379"
# Auth (Stack Auth)
# Get from: https://app.stack-auth.com
STACK_SECRET_SERVER_KEY=""
NEXT_PUBLIC_STACK_PROJECT_ID=""
NEXT_PUBLIC_STACK_PUBLISHABLE_CLIENT_KEY=""
# AI - OpenAI (for story generation)
# Get from: https://platform.openai.com
OPENAI_API_KEY="sk-..."
# AI - Google (for Gemini Imagen image generation - optional)
GOOGLE_API_KEY=""
# CopilotKit / LangGraph
# For local development: leave empty to use default http://localhost:8123
# For Railway production: http://agent.railway.internal:8123 (private network)
LANGGRAPH_URL=""
# LangSmith API key (REQUIRED for both local dev and production)
# Get from: https://smith.langchain.com
LANGSMITH_API_KEY=""
# Tavily API key (for fandom research - Agent service only)
# Get from: https://tavily.com
TAVILY_API_KEY=""
# Cloudinary (for image storage)
# Get from: https://cloudinary.com
CLOUDINARY_CLOUD_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
# Admin endpoint protection (optional)
ADMIN_SECRET=""
# App Configuration
# For local: http://localhost:3000
# For production: https://www.fanfic-lab.tech
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NODE_ENV="development"