Skip to main content

Reference

Configuration and operations reference for self-hosted Hrida.ai — environment variables, container images, API surface, database schema, HTTPS, and monitoring.

Hrida.ai is highly configurable. This section is the canonical source of truth for environment variables, container images, API endpoints, network architecture, reverse proxy setups, and production monitoring. Whether you're tuning a single setting or architecting a multi-node deployment, start here.

Environment Variables​

Every flag, path, and secret Hrida.ai reads at startup, in one place. Over 200 environment variables control authentication, model routing, storage, logging, and more. Understand ConfigVar behavior, troubleshoot ignored settings, and find the exact variable you need.

  • Authentication & signup: ENABLE_SIGNUP, ENABLE_LOGIN_FORM, HRIDAAI_ADMIN_EMAIL, OIDC/LDAP/SCIM
  • Model connections: OpenAI-compatible (vLLM and others), Ollama, direct pipeline URLs, timeouts, load balancing
  • Storage & databases: SQLite, PostgreSQL, S3/GCS/Azure Blob, Redis
  • Logging & audit: GLOBAL_LOG_LEVEL, JSON logging, audit log levels and paths
  • RAG & retrieval: chunk size, overlap, embedding engines, reranking, vector DB selection

Browse all environment variables →

API Endpoints​

OpenAI-compatible and Anthropic-compatible APIs, plus RAG, file management, and Ollama proxy routes. Hrida.ai exposes a full REST API authenticated via Bearer tokens or JWTs. Use the same endpoints the web UI uses to build automations, chatbots, and custom integrations.

  • Chat completions: POST /api/chat/completions, OpenAI-compatible
  • Anthropic messages: POST /api/v1/messages, works with the Anthropic SDK and Claude Code
  • Ollama proxy: /ollama/api/*, passthrough to native Ollama endpoints
  • File & knowledge: upload files, build knowledge collections, query via RAG
  • Filters (inlet/stream/outlet): inlet, stream, and outlet hooks for every request

Explore the API →

HTTPS Configuration​

Terminate TLS in front of Hrida.ai with Nginx, Caddy, or HAProxy. Step-by-step reverse proxy configurations for securing your deployment with HTTPS. Each guide includes certificate handling, WebSocket support, and production-hardened settings.

  • Nginx: full config with SSL termination, WebSocket proxying, and headers
  • Caddy: automatic HTTPS with minimal configuration
  • HAProxy: enterprise-grade load balancing with TLS offloading
  • Cloudflare Tunnel: expose Hrida.ai securely without opening ports
  • Tailscale: private encrypted access across your devices, no public exposure
  • ngrok: instant HTTPS tunnels for development and testing

Set up HTTPS →

API Keys​

Programmatic access to Hrida.ai for scripts, bots, and integrations. Generate personal access tokens that let external code call the same endpoints the web UI uses. Each key inherits the permissions of the user who created it.

  • Bearer token auth: standard Authorization: Bearer header, works with any HTTP client
  • Scoped to user: the key inherits your role and group permissions
  • Endpoint restrictions: optionally limit which API routes a key can access

Set up API keys →

Monitoring​

Observe your deployment with Uptime Kuma, OpenTelemetry, Prometheus, and Grafana. Production monitoring guides covering health checks, model connectivity verification, distributed tracing, metrics, and structured logs. Integrate with your existing observability stack or set up a new one from scratch.

  • Health checks: basic, model connectivity, and deep health checks with Uptime Kuma
  • OpenTelemetry: traces, metrics, and logs piped to any OTLP-compatible backend
  • Dashboards: Prometheus + Grafana for real-time system and model metrics

Set up monitoring →

Network Diagrams​

See how Hrida.ai, your model server and Docker connect in each deployment layout, and which URL to use. Visual C4 diagrams covering Compose stacks, a model server on the host, a separate GPU server, production behind a reverse proxy, host networking and separate networks. Useful for debugging connectivity issues or planning your architecture.

  • Layouts: Compose stack, model server on the host, separate GPU server, reverse proxy, host network, separate networks
  • Linux: the same topologies with Linux-specific networking behavior

View network diagrams →

Container Images​

The four images built from Studio's source, and which service runs each. The app, the dedicated API gateway, PostgreSQL with continuous backups, and the off-server backup sidecar: their tags, how often each is built, and how to pin them in production.

  • App: hrida-ai-studio, with cuda, ollama and slim variants
  • API gateway: hrida-ai-gateway, with the app's tags
  • Database: hrida-ai-studio-postgres, PostgreSQL 16 with pgvector and WAL-G
  • Backups: hrida-ai-studio-backup, encrypted off-server copies

See the images →

Hrida.ai is proprietary software of Zlabs Innovation. See the license for terms. © 2026 Zlabs Innovation.