fleet-memory/.env.example
2025-11-25 19:28:26 +01:00

47 lines
1.7 KiB
Text

# =============================================================================
# HINDSIGHT ENVIRONMENT CONFIGURATION
# =============================================================================
# Copy this file to .env and update with your values
# Both services (API and Control Plane) read from this single file
# =============================================================================
# API SERVICE (HINDSIGHT_API_*)
# =============================================================================
# Database
# Use "pg0" to start an embedded PostgreSQL instance via pg0
# Or provide a full connection URL for external PostgreSQL
#HINDSIGHT_API_DATABASE_URL=postgresql://hindsight:hindsight_dev@localhost:5432/hindsight
HINDSIGHT_API_DATABASE_URL=pg0
# pg0 data directory (only used when HINDSIGHT_API_DATABASE_URL=pg0)
# HINDSIGHT_API_PG0_DATA_DIR=/path/to/pg_data
# LLM Provider: "openai", "groq", or "ollama"
HINDSIGHT_API_LLM_PROVIDER=groq
# LLM Model (provider-specific)
HINDSIGHT_API_LLM_MODEL=openai/gpt-oss-20b
# API Key (not needed for ollama)
HINDSIGHT_API_LLM_API_KEY=your_api_key_here
# Optional: Custom base URL (for ollama or custom endpoints)
# HINDSIGHT_API_LLM_BASE_URL=http://localhost:11434/v1
# API Server Configuration (optional)
# HINDSIGHT_API_HOST=0.0.0.0
# HINDSIGHT_API_PORT=8888
HINDSIGHT_API_MCP_ENABLED=true
# =============================================================================
# CONTROL PLANE SERVICE (HINDSIGHT_CP_*)
# =============================================================================
# Dataplane API URL (where the control plane connects to)
HINDSIGHT_CP_DATAPLANE_API_URL=http://localhost:8888
# Control Plane Server Configuration (optional)
# HINDSIGHT_CP_PORT=3000
# HINDSIGHT_CP_HOSTNAME=0.0.0.0