2026-04-11 15:04:14 +02:00
|
|
|
APP_HOST=0.0.0.0
|
|
|
|
|
APP_PORT=8080
|
|
|
|
|
RUST_LOG=info
|
|
|
|
|
|
|
|
|
|
DATABASE_URL=postgres://postgres:postgres@localhost:5432/nxtgauge_ai_assistant
|
|
|
|
|
|
2026-07-16 20:33:14 +05:30
|
|
|
# Local/laptop testing has no access to the in-cluster Ollama instance, so
|
|
|
|
|
# default to the LiteLLM gateway (https://llm.nxtgauge.com) instead of raw
|
|
|
|
|
# Ollama. Get LITELLM_API_KEY from secret/litellm-secrets in nxtgauge-ai.
|
|
|
|
|
LLM_PROVIDER=litellm
|
|
|
|
|
LITELLM_BASE_URL=https://llm.nxtgauge.com/v1
|
|
|
|
|
LITELLM_API_KEY=
|
|
|
|
|
LITELLM_MODEL=askash-main
|
|
|
|
|
|
|
|
|
|
# Only used when LLM_PROVIDER=ollama (e.g. running Ollama locally yourself).
|
2026-04-11 15:04:14 +02:00
|
|
|
OLLAMA_BASE_URL=http://localhost:11434
|
|
|
|
|
OLLAMA_CHAT_MODEL=smollm2:360m
|
|
|
|
|
OLLAMA_EMBED_MODEL=nomic-embed-text
|
|
|
|
|
|
|
|
|
|
HELP_CENTER_SEED_PATH=./seeds/help_articles.json
|
|
|
|
|
TICKETS_SOURCE=chatbot
|
2026-07-02 18:31:35 +05:30
|
|
|
NXTGAUGE_USERS_URL=http://localhost:9101
|
|
|
|
|
|
|
|
|
|
# Required: must match the JWT signing secret used by nxtgauge-backend-rust,
|
|
|
|
|
# and the AI service key nxtgauge-backend-rust expects on X-AI-Service-Key.
|
|
|
|
|
# Requests fail closed (401/500) if these are unset, rather than crashing.
|
|
|
|
|
JWT_SECRET=
|
|
|
|
|
AI_SERVICE_KEY=
|