Replace placeholder pages with ToolEmbed component that embeds LangGraph, LangFlow, and Langfuse in iframes when configured, or shows "Not Configured" placeholders when URLs are empty. Add ServiceUrlsContext for passing service URLs through Dioxus context. Add docker-compose services for local development: LangFlow, LangGraph (trial), Langfuse with full dependency stack (Postgres, ClickHouse, Redis, MinIO). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
87 lines
3.5 KiB
Plaintext
87 lines
3.5 KiB
Plaintext
# ============================================================================
|
|
# CERTifAI Dashboard - Environment Variables
|
|
# ============================================================================
|
|
# Copy this file to .env and fill in the values.
|
|
# Variables marked [REQUIRED] must be set; others have sensible defaults.
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Keycloak Configuration (frontend public client) [REQUIRED]
|
|
# ---------------------------------------------------------------------------
|
|
KEYCLOAK_URL=http://localhost:8080
|
|
KEYCLOAK_REALM=certifai
|
|
KEYCLOAK_CLIENT_ID=certifai-dashboard
|
|
|
|
# Keycloak admin / service-account client (server-to-server calls) [OPTIONAL]
|
|
KEYCLOAK_ADMIN_CLIENT_ID=
|
|
KEYCLOAK_ADMIN_CLIENT_SECRET=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Application Configuration [REQUIRED]
|
|
# ---------------------------------------------------------------------------
|
|
APP_URL=http://localhost:8000
|
|
REDIRECT_URI=http://localhost:8000/auth/callback
|
|
ALLOWED_ORIGINS=http://localhost:8000
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# MongoDB [OPTIONAL - defaults shown]
|
|
# ---------------------------------------------------------------------------
|
|
MONGODB_URI=mongodb://localhost:27017
|
|
MONGODB_DATABASE=certifai
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# SearXNG meta-search engine [OPTIONAL - default: http://localhost:8888]
|
|
# ---------------------------------------------------------------------------
|
|
SEARXNG_URL=http://localhost:8888
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Ollama LLM instance [OPTIONAL - defaults shown]
|
|
# ---------------------------------------------------------------------------
|
|
OLLAMA_URL=http://localhost:11434
|
|
OLLAMA_MODEL=llama3.1:8b
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# LibreChat (external chat via SSO) [OPTIONAL - default: http://localhost:3080]
|
|
# ---------------------------------------------------------------------------
|
|
LIBRECHAT_URL=http://localhost:3080
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# LLM Providers (comma-separated list) [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
LLM_PROVIDERS=ollama
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# SMTP (transactional email) [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM_ADDRESS=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Stripe billing [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
STRIPE_SECRET_KEY=
|
|
STRIPE_WEBHOOK_SECRET=
|
|
STRIPE_PUBLISHABLE_KEY=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# LangChain / LangGraph / LangFlow / Langfuse [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
LANGCHAIN_URL=
|
|
LANGGRAPH_URL=
|
|
LANGFLOW_URL=
|
|
LANGFUSE_URL=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Vector database [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
VECTORDB_URL=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# S3-compatible object storage [OPTIONAL]
|
|
# ---------------------------------------------------------------------------
|
|
S3_URL=
|
|
S3_ACCESS_KEY=
|
|
S3_SECRET_KEY=
|