dotb_ai-platform/.env.example

29 lines
1.5 KiB
Plaintext

# Example values for local development only. Do not use these credentials in staging/production.
# .env is ignored by Git. .env.test is local-only and must point to ai_platform_test.
# Compose interpolates this file; only explicitly listed environment entries reach containers.
# Docker Compose PostgreSQL (local only)
POSTGRES_USER=ai_platform
POSTGRES_PASSWORD=local-change-this-password
POSTGRES_DB=ai_platform
POSTGRES_PORT=55432
BACKEND_PORT=8000
WEB_PORT=3000
# Backend: read by ai_platform.infrastructure.config.settings.Settings (AI_PLATFORM_ prefix)
AI_PLATFORM_ENVIRONMENT=development
AI_PLATFORM_DATABASE_URL=postgresql+asyncpg://ai_platform:local-change-this-password@127.0.0.1:55432/ai_platform
# Required for backend provisioning endpoint; generate a fresh random secret for local use.
AI_PLATFORM_TENANT_PROVISIONING_SECRET=local-provisioner-replace-before-use
AI_PLATFORM_ADMIN_COOKIE_SECURE=false
AI_PLATFORM_SESSION_TTL_SECONDS=28800
# Optional, required together when sending webhook to a local Omni receiver.
# AI_PLATFORM_WEBHOOK_URL=http://localhost:8080/api/v1/internal/lead-scoring/events
# AI_PLATFORM_WEBHOOK_SIGNING_SECRET=local-replace-before-use
# Optional; no global V-Key: Omni sends X-Tenant-VKey per scoring request.
# AI_PLATFORM_AIHUB_BASE_URL=http://localhost:8080
# Compose web origin only; native SvelteKit dev reads apps/web/.env.
WEB_ORIGIN=http://localhost:3000
# Do not place tenant keys, V-Keys, admin sessions or backend URLs in PUBLIC_* variables.