2026-02-06 04:21:30 +00:00
|
|
|
# LobeChat Development Environment Configuration
|
|
|
|
|
# ⚠️ DO NOT USE THESE VALUES IN PRODUCTION!
|
2025-09-02 09:06:01 +00:00
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Application
|
|
|
|
|
APP_URL=http://localhost:3010
|
2025-09-02 09:06:01 +00:00
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Allow access to private IP addresses (localhost services) in development
|
|
|
|
|
# https://lobehub.com/docs/self-hosting/environment-variables/basic#ssrf-allow-private-ip-address
|
|
|
|
|
SSRF_ALLOW_PRIVATE_IP_ADDRESS=1
|
2025-09-02 09:06:01 +00:00
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Secrets (pre-generated for development only)
|
|
|
|
|
KEY_VAULTS_SECRET=ww+0igxjGRAAR/eTNFQ55VmhQB5KE5trFZseuntThJs=
|
|
|
|
|
AUTH_SECRET=ww+0igxjGRAAR/eTNFQ55VmhQB5KE5trFZseuntThJs=
|
2025-09-02 09:06:01 +00:00
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Database (PostgreSQL)
|
|
|
|
|
DATABASE_URL=postgresql://postgres:change_this_password_on_production@localhost:5432/lobechat
|
2025-09-02 09:06:01 +00:00
|
|
|
DATABASE_DRIVER=node
|
|
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Redis
|
2025-11-28 03:35:35 +00:00
|
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
|
REDIS_PREFIX=lobechat
|
|
|
|
|
REDIS_TLS=0
|
|
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# S3 Storage (RustFS)
|
|
|
|
|
S3_ACCESS_KEY_ID=admin
|
|
|
|
|
S3_SECRET_ACCESS_KEY=change_this_password_on_production
|
|
|
|
|
S3_ENDPOINT=http://localhost:9000
|
|
|
|
|
S3_BUCKET=lobe
|
2025-09-02 09:06:01 +00:00
|
|
|
S3_ENABLE_PATH_STYLE=1
|
|
|
|
|
S3_SET_ACL=0
|
|
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# LLM vision uses base64 to avoid S3 presigned URL issues in development
|
2025-09-02 09:06:01 +00:00
|
|
|
LLM_VISION_IMAGE_USE_BASE64=1
|
|
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Search (SearXNG)
|
|
|
|
|
SEARXNG_URL=http://localhost:8180
|
2025-09-02 09:06:01 +00:00
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# Proxy (Optional)
|
2025-09-02 09:06:01 +00:00
|
|
|
# HTTP_PROXY=http://localhost:7890
|
|
|
|
|
# HTTPS_PROXY=http://localhost:7890
|
|
|
|
|
|
2026-02-06 04:21:30 +00:00
|
|
|
# AI Model API Keys (Required for chat functionality)
|
|
|
|
|
# ANTHROPIC_API_KEY=sk-ant-xxx
|
|
|
|
|
# ANTHROPIC_PROXY_URL=https://api.anthropic.com
|
|
|
|
|
|
|
|
|
|
# OPENAI_API_KEY=sk-xxx
|
2025-09-02 09:06:01 +00:00
|
|
|
# OPENAI_PROXY_URL=https://api.openai.com/v1
|
2026-02-06 04:21:30 +00:00
|
|
|
|