apac-ops-bot/backend/.env.example
michael 05a81d075a Change Redis host port to 6399 to avoid port conflict
Port 6380 was also in use. Using 6399 instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 17:03:55 -06:00

37 lines
1 KiB
Text

# App
APP_NAME=Seapac Ops Bot
APP_ENV=development
DEBUG=True
SECRET_KEY=your-secret-key-here-change-in-production
CORS_ORIGINS=http://localhost:3000
# Database
DATABASE_URL=postgresql+asyncpg://apac_ops_bot:password@localhost:5432/apac_ops_bot
# Azure AD / MSAL
AZURE_TENANT_ID=your-tenant-id
AZURE_CLIENT_ID=your-client-id
AZURE_CLIENT_SECRET=your-client-secret
AZURE_REDIRECT_URI=http://localhost:8048/api/v1/auth/msal/callback
# OpenAI Responses API
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_VECTOR_STORE_ID=vs_QkOKiQCqzCHS4iFT5lP9qUxc
OPENAI_MODEL=gpt-5-nano-2025-08-07
OPENAI_API_BASE=https://api.openai.com/v1
# Redis
REDIS_URL=redis://localhost:6399/0
# Rate Limiting
RATE_LIMIT_PER_MINUTE=30
RATE_LIMIT_PER_DAY=1000
# Token Costs (USD per 1K tokens)
# gpt-5-nano-2025-08-07 pricing:
# - Input: $0.05 per 1M tokens = $0.00005 per 1K tokens
# - Cached input: $0.005 per 1M tokens = $0.000005 per 1K tokens
# - Output: $0.40 per 1M tokens = $0.0004 per 1K tokens
PROMPT_TOKEN_COST=0.00005
CACHED_PROMPT_TOKEN_COST=0.000005
COMPLETION_TOKEN_COST=0.0004