Files
wecom-ai-assistant/.env.example
2026-02-05 16:36:32 +08:00

34 lines
764 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.
# ============ Backend ============
API_HOST=0.0.0.0
API_PORT=8000
# Database (PostgreSQL)
DATABASE_URL=postgresql+asyncpg://wecom:wecom_secret@db:5432/wecom_ai
DATABASE_URL_SYNC=postgresql://wecom:wecom_secret@db:5432/wecom_ai
# JWT (admin login)
JWT_SECRET=your-jwt-secret-change-in-production
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=60
# Seed 脚本用(可选,默认 admin / admin
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
# WeCom (占位,后续阶段使用)
WECOM_CORP_ID=
WECOM_AGENT_ID=
WECOM_SECRET=
WECOM_TOKEN=
WECOM_ENCODING_AES_KEY=
WECOM_API_BASE=https://qyapi.weixin.qq.com
WECOM_API_TIMEOUT=10
WECOM_API_RETRIES=2
# Log
LOG_LEVEL=INFO
LOG_JSON=true
# ============ Admin (Next.js) ============
NEXT_PUBLIC_API_BASE=http://localhost:8000