geo/.env.production.example

65 lines
2.4 KiB
Plaintext

# ============================================================
# GEO Platform Production Environment Configuration
# ============================================================
# IMPORTANT: Replace ALL placeholder values before deploying!
# Passwords must be at least 16 characters with mixed case, numbers, and symbols.
# ============================================================
# Database (MUST use strong password in production)
# ============================================================
POSTGRES_PASSWORD=CHANGE_ME_strong_pg_password_32chars!
DATABASE_URL=postgresql+asyncpg://postgres:CHANGE_ME_strong_pg_password_32chars!@db:5432/geo_platform
# ============================================================
# Redis (MUST use strong password in production)
# ============================================================
REDIS_PASSWORD=CHANGE_ME_strong_redis_password_32chars!
REDIS_URL=redis://:CHANGE_ME_strong_redis_password_32chars!@redis:6379/0
# ============================================================
# JWT (MUST be unique and at least 32 characters)
# ============================================================
JWT_SECRET=CHANGE_ME_unique_jwt_secret_at_least_32_chars
JWT_EXPIRE_HOURS=24
SECRET_KEY=CHANGE_ME_unique_nextauth_secret_at_least_32_chars
# ============================================================
# API Configuration
# ============================================================
NEXT_PUBLIC_API_URL=https://your-domain.com
CORS_ORIGINS=https://your-domain.com
# ============================================================
# LLM Provider (fill in at least one)
# ============================================================
ENABLE_LLM=true
DEFAULT_LLM_PROVIDER=deepseek
DEFAULT_LLM_MODEL=deepseek-chat
DEEPSEEK_API_KEY=
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
DEEPSEEK_MAX_CONTEXT=64000
OPENAI_API_KEY=
OPENAI_MODEL=
OPENAI_BASE_URL=
MOONSHOT_API_KEY=
BAIDU_QIANFAN_API_KEY=
BAIDU_QIANFAN_SECRET_KEY=
DOUBAO_API_KEY=
DOUBAO_ENDPOINT_ID=
# ============================================================
# Rate Limiting
# ============================================================
API_RATE_LIMIT_RPM=10
# ============================================================
# Payment / Distribution / Email (set to real mode in production)
# ============================================================
PAYMENT_MODE=mock
DISTRIBUTION_MODE=mock
EMAIL_MODE=mock