Files
AI_Translator/apps/api/.env.example
2025-12-26 16:03:12 +08:00

29 lines
450 B
Plaintext

# App
APP_ENV=dev
API_HOST=0.0.0.0
API_PORT=8000
DEBUG=true
# Database
DATABASE_URL=mysql+aiomysql://root:root@localhost:3306/translator
# Redis
REDIS_URL=redis://localhost:6379/0
# LLM
LLM_PROVIDER=openai
LLM_API_KEY=your-api-key-here
LLM_MODEL=gpt-4o-mini
LLM_BASE_URL=
DEFAULT_TEMPERATURE=0.0
# Cache
CACHE_TTL_SECONDS=604800
# Rate Limit
RATE_LIMIT_PER_MINUTE=60
# Security
SECRET_KEY=change-me-in-production
ACCESS_TOKEN_EXPIRE_MINUTES=30