Files
AI_Translator/apps/api/.env.example
2025-12-25 18:41:09 +08:00

29 lines
462 B
Plaintext

# App
APP_ENV=dev
API_HOST=0.0.0.0
API_PORT=8000
DEBUG=true
# Database
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/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