Files
telegram-management-system/marketing-agent/.env.development
你的用户名 237c7802e5
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit: Telegram Management System
Full-stack web application for Telegram management
- Frontend: Vue 3 + Vben Admin
- Backend: NestJS
- Features: User management, group broadcast, statistics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 15:37:50 +08:00

93 lines
2.3 KiB
Plaintext

# Development Environment Configuration
# This file contains environment variables for local development
# Service URLs (local development)
ORCHESTRATOR_URL=http://localhost:3001
CLAUDE_AGENT_URL=http://localhost:3002
GRAMJS_ADAPTER_URL=http://localhost:3003
SAFETY_GUARD_URL=http://localhost:3004
ANALYTICS_URL=http://localhost:3005
COMPLIANCE_GUARD_URL=http://localhost:3006
AB_TESTING_URL=http://localhost:3007
# Frontend URL (for CORS)
FRONTEND_URL=http://localhost:3009
# API Gateway Configuration
API_GATEWAY_PORT=3000
JWT_SECRET=dev-jwt-secret-key
JWT_EXPIRES_IN=24h
JWT_REFRESH_EXPIRES_IN=7d
CORS_ORIGINS=http://localhost:3008,http://localhost:3009,http://localhost:5173
# Database Configuration
MONGODB_URI=mongodb://localhost:27017/marketing_agent_dev
POSTGRES_DB=marketing_agent_dev
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# RabbitMQ Configuration
RABBITMQ_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_USER=guest
RABBITMQ_PASSWORD=guest
# Elasticsearch Configuration
ELASTICSEARCH_HOST=localhost
ELASTICSEARCH_PORT=9200
# ClickHouse Configuration
CLICKHOUSE_HOST=localhost
CLICKHOUSE_PORT=8123
# Logging
LOG_LEVEL=debug
LOG_FORMAT=pretty
# Rate Limiting (relaxed for development)
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=1000
# Claude AI Configuration (use test key for development)
CLAUDE_API_KEY=test-key-replace-with-real-key
CLAUDE_MODEL=claude-3-opus-20240229
CLAUDE_MAX_TOKENS=4000
# Telegram Configuration (test credentials)
TELEGRAM_API_ID=test-api-id
TELEGRAM_API_HASH=test-api-hash
TELEGRAM_SESSION_DIR=./sessions
# Safety Guard Configuration (relaxed for development)
SAFETY_RATE_LIMIT_MESSAGES_PER_MINUTE=100
SAFETY_RATE_LIMIT_MESSAGES_PER_HOUR=1000
SAFETY_RATE_LIMIT_MESSAGES_PER_DAY=10000
# Analytics Configuration
ANALYTICS_RETENTION_DAYS=30
ANALYTICS_AGGREGATION_INTERVAL=60000
# A/B Testing Configuration
AB_TESTING_MIN_SAMPLE_SIZE=10
AB_TESTING_CONFIDENCE_LEVEL=0.95
# Compliance Configuration
COMPLIANCE_DATA_RETENTION_DAYS=30
COMPLIANCE_AUDIT_LOG_ENABLED=false
# Performance Configuration
NODE_ENV=development
NODE_OPTIONS=--max-old-space-size=2048
# Monitoring
PROMETHEUS_ENABLED=false
PROMETHEUS_PORT=9090
GRAFANA_ENABLED=false
GRAFANA_PORT=3020