geo/.env.example

35 lines
700 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 数据库
DATABASE_URL=postgresql+asyncpg://postgres:postgres123@db:5432/geo_platform
# Redis
REDIS_URL=redis://redis:6379/0
# JWT
JWT_SECRET=your-secret-key-change-in-production
JWT_EXPIRE_HOURS=24
# 前端
NEXT_PUBLIC_API_URL=http://localhost:8000
# Playwright
PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
# 国内大模型API可选
ZHIPU_API_KEY=
TONGYI_API_KEY=
# ---- LLM Provider 配置 ----
# 默认LLM提供商: openai | deepseek
DEFAULT_LLM_PROVIDER=openai
# OpenAI
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o-mini
OPENAI_BASE_URL=https://api.openai.com/v1
# DeepSeek
DEEPSEEK_API_KEY=
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
DEEPSEEK_MAX_CONTEXT=64000