xiaozhi-esp32-server/main/live-agent-api/.env.example
2025-11-20 17:10:08 +08:00

35 lines
1.1 KiB
Text

# Live Agent API Environment Configuration
# Copy this file to .env and update the values
# ==================== S3/MinIO Configuration ====================
# For local development with MinIO
AWS_ACCESS_KEY_ID=minioadmin
AWS_SECRET_ACCESS_KEY=minioadmin
AWS_REGION=us-east-1
S3_BUCKET_NAME=live-agent-files
# For production with AWS S3, use your actual credentials:
# AWS_ACCESS_KEY_ID=your-aws-access-key
# AWS_SECRET_ACCESS_KEY=your-aws-secret-key
# AWS_REGION=ap-northeast-1
# S3_BUCKET_NAME=your-production-bucket
# ==================== Security ====================
SECRET_KEY=dev-secret-key-change-in-production
# ==================== Token Configuration ====================
TOKEN_EXPIRE_DAYS=7
# ==================== Server Configuration ====================
# These are optional, defaults are set in settings.py
# HOST=0.0.0.0
# PORT=8080
# DEBUG=False
# ==================== Database Configuration ====================
# This is overridden in docker-compose.yml for container environment
# For local development without Docker, use:
# DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/live_agent
FISH_API_KEY=your-fish-api-key