Files
ai-contract-platform/.env.example
T
yuqei b7073d9c5b feat: enhance production deployment configuration and documentation
- Update .env.example with production-ready environment variables
- Add frontend Aliyun deployment configuration with nginx gateway
- Refactor docker-compose.server.yml for external services
- Add comprehensive deployment guide (docs/DEPLOYMENT.md)
- Enhance troubleshooting documentation with Git Bash path issues
- Add deployment scripts (build-frontend.sh, deploy-frontend.sh)
- Add deploy directory with docker-compose and nginx config
- Update .gitignore to exclude temporary directories

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-18 22:27:00 +08:00

36 lines
1.1 KiB
Bash
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.
# ===== 应用 =====
APP_NAME=AI Contract Platform
APP_ENV=production
# ===== 安全 =====
SECRET_KEY=change_me_to_a_random_64_plus_character_secret_for_production
# ===== 数据库(外部共享 PostgreSQL) =====
DATABASE_URL=postgresql+psycopg://yuqei:change_me@192.168.3.90:5432/ai_contract_platform
# ===== Redis =====
REDIS_URL=redis://redis:6379/0
# ===== MinIO(外部共享) =====
MINIO_ENDPOINT=192.168.3.90:9000
MINIO_ACCESS_KEY=change_me_minio_access_key
MINIO_SECRET_KEY=change_me_minio_secret_key
MINIO_BUCKET=contracts
# ===== Shared AI Platform =====
SHARED_AI_PLATFORM_BASE_URL=http://192.168.3.90:18011
SHARED_AI_PLATFORM_API_PREFIX=/api/v0.2
SHARED_AI_PLATFORM_APP_ID=ai-contract-platform
SHARED_AI_PLATFORM_API_KEY=change_me_shared_ai_api_key
SHARED_AI_PLATFORM_TIMEOUT_SECONDS=180
SHARED_AI_PLATFORM_LEGAL_REVIEW_ENABLED=true
SHARED_AI_PLATFORM_LEGAL_REVIEW_FALLBACK_TO_LOCAL=false
# ===== Legal Change Impact Worker =====
LEGAL_CHANGE_IMPACT_WORKER_BATCH_SIZE=10
LEGAL_CHANGE_IMPACT_WORKER_INTERVAL_SECONDS=300
LEGAL_CHANGE_IMPACT_SEMANTIC_ENABLED=true
# ===== 前端(阿里云部署) =====
NEXT_PUBLIC_API_BASE_URL=/api/v1