chore: add production container environment

This commit is contained in:
2026-08-22 21:47:52 +08:00
parent cf2f114dc8
commit 5911bfb275
3 changed files with 49 additions and 0 deletions

33
.env.production.example Normal file
View File

@@ -0,0 +1,33 @@
# Copy to .env when this repository is nested at deployment/backend.
# DATABASE_URL, REDIS_ADDR, and REDIS_PASSWORD are injected by compose.yaml.
APP_ENV=production
HTTP_ADDR=0.0.0.0:8080
IMPORT_PATH=/import/challenge_data.csv.gz
DEMO_USERNAME=merchant-0001
DEMO_PASSWORD=change-me-with-at-least-12-random-characters
SESSION_SECRET=change-me-with-at-least-32-random-characters
CURSOR_SECRET=change-me-with-a-different-32-character-secret
FRONTEND_ORIGIN=https://zarinpal.amiirkhl.ir
COOKIE_SECURE=true
# Keep AI switches off until the selected provider key and positive budgets are set.
AI_GROWTH_ENABLED=false
AI_COACH_ENABLED=false
AI_PAGE_INSIGHTS_ENABLED=false
AI_PROVIDER=avalai
AVALAI_API_KEY=
AVALAI_BASE_URL=https://api.avalai.ir
AVALAI_MODEL=gpt-5-mini-2025-08-07
AGENTROUTER_API_KEY=
AGENTROUTER_BASE_URL=https://agentrouter.org/v1
AGENTROUTER_MODEL=gpt-5.6-sol
AI_DAILY_REQUEST_BUDGET=0
AI_DAILY_TOKEN_BUDGET=0
AI_COACH_DAILY_REQUEST_BUDGET=0
AI_COACH_DAILY_TOKEN_BUDGET=0
AI_PAGE_INSIGHTS_DAILY_REQUEST_BUDGET=0
AI_PAGE_INSIGHTS_DAILY_TOKEN_BUDGET=0
AI_MAX_CONCURRENT=4
AI_CREATE_PER_MINUTE=10
AI_UNCACHED_SCOPES_PER_DAY=5