Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
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>
This commit is contained in:
56
marketing-agent/.env.example
Normal file
56
marketing-agent/.env.example
Normal file
@@ -0,0 +1,56 @@
|
||||
# MongoDB
|
||||
MONGODB_URI=mongodb://localhost:27017/marketing-agent
|
||||
|
||||
# Redis
|
||||
REDIS_URL=redis://localhost:6379
|
||||
|
||||
# PostgreSQL
|
||||
POSTGRES_HOST=localhost
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=marketing_agent
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
|
||||
# Elasticsearch
|
||||
ELASTICSEARCH_URL=http://localhost:9200
|
||||
|
||||
# ClickHouse
|
||||
CLICKHOUSE_URL=http://localhost:8123
|
||||
CLICKHOUSE_DATABASE=marketing_agent
|
||||
|
||||
# JWT Secret
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
||||
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-this-in-production
|
||||
|
||||
# Telegram API (Get from https://my.telegram.org)
|
||||
TELEGRAM_API_ID=your-telegram-api-id
|
||||
TELEGRAM_API_HASH=your-telegram-api-hash
|
||||
|
||||
# Claude API
|
||||
CLAUDE_API_KEY=your-claude-api-key
|
||||
CLAUDE_MODEL=claude-3-opus-20240229
|
||||
|
||||
# Service Ports
|
||||
API_GATEWAY_PORT=3000
|
||||
ORCHESTRATOR_PORT=3001
|
||||
CLAUDE_AGENT_PORT=3002
|
||||
GRAMJS_ADAPTER_PORT=3003
|
||||
SAFETY_GUARD_PORT=3004
|
||||
ANALYTICS_PORT=3005
|
||||
AB_TESTING_PORT=3006
|
||||
COMPLIANCE_GUARD_PORT=3007
|
||||
|
||||
# Feature Flags
|
||||
ENABLE_DEMO_MODE=true
|
||||
ENABLE_REAL_TELEGRAM=false
|
||||
ENABLE_AI_SUGGESTIONS=false
|
||||
|
||||
# Rate Limiting
|
||||
RATE_LIMIT_WINDOW=900
|
||||
RATE_LIMIT_MAX=100
|
||||
|
||||
# Monitoring
|
||||
ENABLE_METRICS=true
|
||||
ENABLE_TRACING=true
|
||||
GRAFANA_URL=http://localhost:3030
|
||||
PROMETHEUS_URL=http://localhost:9090
|
||||
Reference in New Issue
Block a user