feat:初版
This commit is contained in:
28
apps/api/.env.example
Normal file
28
apps/api/.env.example
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user