Which LibreChat deployment fits your team
A team that must host a private multi-user chat service in its own infrastructure should choose Docker Compose on one virtual machine if it is running a pilot or a small team with one named owner, and Kubernetes with the LibreChat Helm chart if it already operates clusters and has people who run them. The reference docker-compose file starts LibreChat with MongoDB, Meilisearch and a separate RAG API service, so one host carries all of those containers. The Helm chart fits teams that already have ingress, persistent volumes, secrets management and monitoring standards in place, because LibreChat then becomes one more workload on a platform they already run.
Three factors usually move a team from the Compose path to Kubernetes. The first is the availability target. A single VM is one failure domain, so if users cannot wait for a host restart or a rebuild, plan redundant nodes and confirm how the stateful services, MongoDB and Meilisearch in particular, are replicated or restored in your design. The second is change control. If upgrades must pass through staged environments, approvals and rollback records, versioned Helm releases give you a clearer audit trail than hand-edited Compose files on a host. The third is on-call capacity. Someone must answer when a container, a volume or an upstream model provider fails, and a team without that rota should not take on a multi-node cluster it cannot staff around the clock.
A virtual machine is the host under the Docker path, and it is also the host under a Kubernetes node pool, so the sizing, patching, disk and backup questions apply in both cases. Before you choose, check the release line against your own change process. The latest tagged release on the LibreChat releases page is v0.8.8, published on October 1, 2026 and marked as a pre-release, so decide whether your organization accepts pre-release builds or must pin a stable tag. Confirm with the maintainers' documentation which values you need for ingress, TLS and authentication, since OAuth2, LDAP and email login are all supported, and test a restore of the MongoDB data before go-live.
LibreChat deployment on Docker, Kubernetes or VMs, side by side
This table compares how LibreChat is installed, scaled, upgraded, backed up and operated on a single Docker Compose host versus a Kubernetes cluster deployed with the Helm charts shipped in the LibreChat repository. Sizing depends on your own measurements, so the sizing row names what to measure and who to ask. The main takeaway is that Compose suits a small service with one owner, while Helm adds cluster skills and recurring operating effort in exchange for replica control and scheduling.
| Factor | Docker Compose on a VM or host | Kubernetes with Helm charts |
|---|---|---|
| Documented install method | Compose file and configs in the repository, run on one host. Pin image tags before the first deploy. | Helm charts in the repository, installed into a cluster you operate. Confirm the chart version matches the app release. |
| Stateful services in reference stack | MongoDB, Meilisearch and the RAG API run as containers on the same host as the app. | Same reference services as the Compose stack. Confirm whether the chart runs each one in-cluster or points to external services. |
| Scaling | Scale up the host. Extra app copies need a load balancer and shared state you configure yourself. | Scale app replicas through chart values. Confirm which stateful services can run replicated and how. |
| High availability | One host is a single point of failure unless the VM platform or a standby host covers it. | Restarts and rescheduling come from Kubernetes. Database and search availability depend on how you run them. |
| Upgrade path | Pull the new image, recreate containers and back up first. Release v0.8.8 is marked pre-release, so test it. | Upgrade the chart and values with Helm, test in a non-production cluster and review release notes for config changes. |
| Backup scope | Host volumes or database dumps for MongoDB and Meilisearch, uploaded files, and the Compose and env files. | Persistent volume snapshots or database dumps, plus Helm values and secrets. Confirm the tooling for each service. |
| Sizing (measure and ask) | Measure concurrent users, model call volume, upload sizes and database growth. Ask LibreChat maintainers or load test. | Same measurements, plus node capacity, pod resource requests and storage latency. Ask your platform team. |
| Skills needed | Linux administration, Docker Compose, TLS termination, reverse proxy setup and backup routines. | Kubernetes operations, Helm, ingress, persistent storage, secrets management and cluster monitoring. |
| Who runs the platform | Usually the IT team that owns the host. DeployOpen can plan, implement, harden, back up and support it on written scope. | Usually a platform or SRE team that runs the cluster. DeployOpen can implement and support it on written scope. |
What the LibreChat stack runs: app, MongoDB, Meilisearch and the RAG API
Every LibreChat deployment is a set of cooperating services. The platform choice changes where each service runs and leaves each service's job unchanged. The cards below separate the services that hold state from the ones that can restart cleanly, because that split decides what users lose when a component goes down.
LibreChat app container
The app container serves the chat interface and the API routes, and it makes the outbound calls to model providers. It is the component you upgrade at every release, so pin the image tag and test the new tag in staging before you roll it out. Check which paths it writes to, such as uploaded files, and mount them to persistent storage, because a replaced container otherwise drops that data. When the app is down, users lose the interface and the API together.
MongoDB stores accounts and chats
MongoDB is the system of record for accounts, conversations and settings, so it holds the state you cannot rebuild. Schedule backups against the recovery point your organization requires, and test a restore into a separate environment before you rely on it. A single unreplicated container is the simplest layout, but it leaves no failover, so decide early whether your platform team can run a replica set. When MongoDB is down, users lose sign-in and chat history until it returns.
Meilisearch indexes past conversations
Meilisearch is the search service in the reference compose file, and it serves search across past conversations. Its index is derived from MongoDB data, so it is the cheapest component to lose, but confirm with your version how the index is rebuilt and how long a full reindex takes on your data volume. Size its memory and disk in the same plan as the database. When Meilisearch is down, chat keeps working and only search over past conversations fails.
RAG API handles file retrieval
The RAG API is a separate service that the reference compose file starts beside the app, and it handles retrieval for chats that use uploaded files. Because it runs as its own container, add it to health checks, logs and network rules alongside the app. Confirm which vector store and embedding settings your version uses, since those choices hold retrieval state and shape the backup plan. When the RAG API is down, chats without files still work, but file-grounded answers fail.
Model provider endpoints
LibreChat calls Anthropic, AWS Bedrock, OpenAI, Azure OpenAI, Google, Vertex AI and any OpenAI-compatible custom endpoint, including Ollama, Groq, Mistral AI, OpenRouter and Deepseek. Outbound calls to cloud providers are the traffic that leaves your network, so egress rules, proxies and provider keys belong in the deployment plan on any platform. Confirm which providers your data terms allow and where each endpoint is hosted. When one provider is down, only the models behind it fail, and users keep the others.
Helm chart packages the stack
LibreChat ships Helm charts for Kubernetes, and the chart is the packaging that declares the app, database, search and RAG services as cluster objects. It holds no user data itself, so the risk sits in chart version pinning, values files and secrets. Check the chart version against the app version you intend to run, and rehearse a rollback in staging before production. A failed upgrade can affect every service the chart manages at the same time, so the blast radius is the whole stack.
LibreChat releasesThe decision path from pilot to production host
The path starts with one question: does your team already operate Kubernetes? A team without a cluster can run LibreChat with Docker Compose on one virtual machine for a pilot or a small group. A team that runs clusters can deploy the Helm chart that LibreChat ships. Both routes then pass the same checkpoints inside your network: a plan for MongoDB and Meilisearch, a backup and restore you have tested, a pinned release tag that you upgrade on purpose, and a review of identity and provider settings before users arrive.
Both deployment routes pass the same checkpoints before production.
How high availability changes between one host and a cluster
A single Compose host is one failure domain. If that host loses power, its disk or its Docker daemon, LibreChat, MongoDB, Meilisearch and the RAG API service that the reference docker-compose file starts beside them all stop together. Restarting containers on the same host can bring the stack back, but nothing moves the workload to another machine, so a host-level failure is a full outage for users. Before you choose this model, write down who gets notified, who can rebuild the host and how long your organization can accept the app being down. Those answers set your availability target, and the container runtime does not change them. Ask your team to restore a backup onto a fresh host, because a backup that has never been restored is an unverified assumption.
A Kubernetes cluster adds rescheduling. If a node fails, the scheduler can start the LibreChat pods on another node, and the Helm chart can run more than one application replica. That benefit stops at the stateful services. Replicating the LibreChat pods does not replicate MongoDB, and a replicated Meilisearch deployment is a separate question with its own answer. Confirm three things with the chart you plan to use. First, whether the Helm chart runs replicated MongoDB and Meilisearch, or single instances backed by persistent volumes. Second, how the chosen MongoDB topology is configured, including replica set members, how failover elects a new primary and which connection string the app uses. Third, how the Meilisearch index is rebuilt after a volume loss and whether that rebuild is driven from the MongoDB data.
A virtual machine sits between the two models, and its availability depends on what you build around it. A single VM running Docker Compose has the same single failure domain as a physical host, and hypervisor features such as live migration move the whole VM, leaving the MongoDB and Meilisearch services inside it unchanged. High availability for the database and search layers needs its own design, such as a MongoDB replica set spread across hosts and a documented procedure for rebuilding search. Before you commit, ask for a written failure test in scope: stop the database primary, remove the node that runs search and restore onto a clean host. Record what users see at each step and how long each step takes in your environment, then compare that result with your recovery expectations. The chart and compose files are in the LibreChat repository.
Upgrades, backups and monitoring for each LibreChat deployment
This table compares how a LibreChat deployment handles upgrades, rollback, backups, restore testing, monitoring and staffing on Compose on a VM and on Kubernetes with Helm. Read each row against the team that will run the stack, since the work shifts from host administration to cluster operations. The main takeaway is that either path needs a tested restore covering MongoDB, search data and uploaded files, and the latest GitHub release, v0.8.8, is marked pre-release, so pin a tag and test it before promotion.
| Area | Docker Compose on a VM | Kubernetes with Helm |
|---|---|---|
| Upgrades | Change the image tags pinned in the compose file, pull the new images, then restart the services. | Set image and chart values, keep them in version control, then run a Helm upgrade with that values file. |
| Release status | Pin the tag you have tested. The latest tag, v0.8.8 (October 1, 2026), is marked pre-release on GitHub. | Pin the same tag in values and test the Helm upgrade in staging. The v0.8.8 release is marked pre-release on GitHub. |
| Rollback | Set the previous tag and recreate the containers. Confirm whether the new release changed the database first. | Run helm rollback to the prior revision. Confirm the older image still starts against any migrated data. |
| Backup scope | MongoDB data, Meilisearch data, uploaded files, the RAG API storage, the .env file and compose files. | Persistent volumes for MongoDB, Meilisearch and uploads, plus Helm values and the secrets they reference. |
| Restore testing | Restore the volumes to a separate VM, start the stack on the same tag and test login, history and file access. | Restore into a separate namespace with the same chart values and test login, history and file access. |
| Monitoring and logs | Host metrics and container logs, forwarded by an agent you install and run on the VM. | Pod logs and metrics through your cluster stack, with alerts on restarts and failed health probes. |
| Team skills | Linux administration, Docker, reverse proxy and TLS, and MongoDB backup and restore basics. | Kubernetes operations, Helm, persistent volume management, cluster monitoring and secret handling. |
Which team should run each LibreChat deployment model
A small application team with no cluster usually starts with Docker Compose on a single virtual machine. LibreChat's reference Compose file runs the app with MongoDB, Meilisearch for search and a separate RAG API service, so the team operates several stateful containers before the first user signs in. This model suits a team that can own the host end to end and accepts that a failed host stops the service until it is restored.
- Skills needed: Linux administration, Docker and Compose, TLS termination at the reverse proxy, and enough MongoDB knowledge to run a dump and a restore.
- On-call: Usually the application owner, with a written statement of what is covered outside business hours. Confirm the response expectations with your own stakeholders before go-live.
- Configuration in version control: Keep the Compose file, a template of the environment file without secrets and the reverse proxy configuration in a Git repository, and record every change as a commit.
- Backup restore records: Log each MongoDB and Meilisearch backup, then restore it to a scratch host and record the date, the operator and the result.
- Access logs: Keep reverse proxy logs and host authentication logs for the period your policy requires, and review who holds shell access to the host.
Before go-live, confirm that someone other than the original builder can rebuild the host from the repository and the latest backup.
A platform team that already runs Kubernetes can deploy LibreChat with the Helm charts the project ships. The work moves from building containers to operating a stateful chat application inside a cluster the team already monitors. The team takes on scaling, storage classes, ingress and secret handling, and the cluster's upgrade cadence now affects the chat service. This model fits when the platform team already has the skills and the on-call rota for stateful workloads.
- Skills needed: Helm, Kubernetes networking and storage, secret management, and experience running a stateful database such as MongoDB inside a cluster.
- On-call: The platform team usually carries the pager for cluster and infrastructure faults, while the application owner handles model provider keys, agent settings and user issues. Write this split down before launch.
- Configuration in version control: Store Helm values and chart versions in Git, and deploy through a reviewed pipeline or a GitOps controller so every change has an author and a visible diff.
- Backup restore records: Back up persistent volumes and MongoDB data, and test restoration into a separate namespace on a schedule your team sets and records.
- Access logs: Enable Kubernetes audit logging and collect ingress logs. Confirm with your cluster provider or internal platform group which logs they retain and for how long.
Before the next Kubernetes upgrade, test a LibreChat deployment and a restore on the new version, and check the LibreChat releases page for the version you plan to run.
A regulated organization must show its own compliance reviewers how the deployment was changed, who could reach it and whether it can be restored. Docker, Kubernetes and VMs can each produce that evidence, so the deciding question is which records your existing tools collect without manual screenshots. Choose the model whose change history, access logs and restore tests fit your control set with the least manual effort. DeployOpen prepares systems and evidence for compliance assessments, but independent auditors and certification bodies issue the reports.
- Skills needed: Change management practice, identity integration using the OAuth2, LDAP or email login LibreChat supports, security engineering, and enough platform knowledge to explain the design to an assessor.
- On-call: A named operations owner with a written escalation path to security, plus a documented rule for who may approve emergency changes outside the normal process.
- Configuration in version control: Link each change ticket to a commit or pull request, record the approval, and place environment configuration under the same review process as application code.
- Backup restore records: Keep dated restore test results that state the data scope, the person who ran the test and the outcome, alongside the backup job logs.
- Access logs: Retain authentication logs for LibreChat users and administrators, plus host and cluster access logs, and agree the retention period with your compliance team.
Ask your compliance reviewers which evidence formats they accept before you choose a model, because that list can rule out a setup you already run.
Steps to pilot a LibreChat deployment on Docker Compose
This sequence takes a team from a signed scope to a tested, recoverable LibreChat instance on one virtual machine, then to the Helm path if the team runs Kubernetes or decides to. Each step names an owner and closes with a check, so the security, compliance and operations teams receive evidence they can review. The identity method, provider set and data model carry forward into the cluster, so the pilot work is reused.
Agree the pilot scope in writing
The platform lead drafts a short scope document, and the CIO or CISO sponsor signs it before any installation starts. It names the teams in the pilot, the identity method (OAuth2, LDAP or email login), the model providers and data classes allowed, the expected user count and the exit criteria for moving to the next step. If an implementation partner runs the pilot, the same document sets its deliverables in writing. The step closes when every named owner has signed and the provider list matches what the security review approved.
Stand up the reference stack on one VM
The platform engineer deploys the reference Docker Compose configuration on one virtual machine. That starts LibreChat with MongoDB, Meilisearch for search and the RAG API service. Secrets go into an environment file with restricted permissions and stay out of the repository. The engineer then configures the identity method and the model providers the team will use. The step closes when a test user signs in through the chosen identity method, each provider answers a test prompt and the configuration is stored under version control.
Test with representative users and files
The pilot lead recruits a small group of business users who represent the teams in scope, along with a security reviewer. Participants work with documents at the sensitivity level the scope allows and exercise file uploads, chat with files, web search, custom agents and any approved MCP tools. Each failure is logged with the file type, provider or identity group involved. The step closes when the log covers every enabled feature and identity group, and the security reviewer records a decision on data handling.
Rehearse backup and restore of MongoDB and uploads
The infrastructure lead takes a MongoDB dump, copies the uploaded file storage and restores both to a second virtual machine. The restore is checked against a written list: users can sign in, past conversations and uploads open, and search returns results. Confirm with the vendor whether the Meilisearch index must be restored or rebuilt after a restore, and record the chosen procedure in the runbook. The step closes when the checklist passes on the second machine and the runbook names the person who runs each command.
Pin a release tag and document the upgrade
The platform lead pins the container image to one explicit release tag, keeps that tag in version control and writes the upgrade procedure. The latest tagged release on the LibreChat GitHub releases page when this page was prepared is v0.8.8, which is marked as a pre-release, so confirm that status against the team's update policy before choosing a tag. The runbook covers reading release notes, taking a backup, testing the new tag on the second machine and rolling back to the previous tag and backup. The step closes when one upgrade and one rollback have run successfully on the test machine.
Move configuration and data model to Helm
The platform engineering lead and the cluster team move the same configuration, identity settings and data model to the Helm charts that LibreChat ships for Kubernetes. They decide whether MongoDB, Meilisearch and the RAG API run inside the cluster or as services the team already operates, and they confirm the chart version and cluster requirements with the maintainers. This step applies only when the team already runs Kubernetes or decides to adopt it. The step closes when the test cases from the user testing step pass on the cluster and a restore succeeds against the cluster database.
What drives LibreChat cost on each deployment model
The software carries no license fee. LibreChat is MIT licensed, so the budget goes to infrastructure, model providers, staff time and any outside help. Split the estimate into one-time and recurring costs before comparing models. One-time costs include the deployment design, the initial build of the Docker Compose or Helm setup, identity integration and any history import, such as bringing ChatGPT conversations across with LibreChat's documented import path. Recurring costs include infrastructure, upgrades, monitoring, restore tests and provider spend. The two halves are paid in different years, so a quote that blends them hides the ongoing cost you will carry after go-live.
Infrastructure cost follows the deployment model. A Docker Compose stack on one or two virtual machines has the smallest footprint: you pay for the machines, their disks, and backup storage for MongoDB and the search index that the reference LibreChat repository runs alongside the RAG API. A Kubernetes deployment using the provided Helm charts adds cluster nodes and the platform work around them, including ingress, persistent volumes, secrets handling and monitoring. Nodes are a recurring charge even when idle, and each added replica for high availability multiplies the database and storage bill. Ask for pricing of every environment you plan to run, including production, staging and a restore target, because a restore test needs somewhere to restore into.
Model usage and staff time vary most, and the software sets neither. Each provider you enable bills you directly, such as Anthropic, OpenAI, AWS Bedrock, Azure OpenAI or Google, and any local model endpoint costs what its hardware and power cost you. Confirm who holds each API account and budget. Staff time covers building the stack, upgrading it for each release, and on-call coverage. The latest tagged release, v0.8.8, is marked as a pre-release, so confirm which tag your upgrade plan pins. If you buy implementation help, ask for written scope, named deliverables, the environments covered, the handover format (runbooks, configuration in version control and a walkthrough), and retainer terms for upgrades and support after go-live. Ask what is excluded.
What buyers ask before choosing a LibreChat deployment model
How much more effort is a Helm deployment than a Docker Compose pilot?
A Helm deployment takes more effort than a Compose pilot because it adds a Kubernetes cluster your team must operate on top of the application containers. The LibreChat reference Compose file runs the app with MongoDB, Meilisearch for search and a separate RAG API service, and one host can run that stack for evaluation. Helm moves those components into Kubernetes, where your team also owns ingress and TLS, persistent volumes, secrets, resource limits, network policy and the chart values that must match your identity provider and model endpoints. The main drivers are whether your platform team already runs Kubernetes, how many environments you need and how much high availability you require. Ask the implementer to list every component they will operate and who patches each one.
How long does a LibreChat implementation take?
The duration depends on scope, and no general figure applies. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope. The main drivers are the number of sign-in sources (OAuth2, LDAP or email login), the model providers and custom OpenAI-compatible endpoints you connect, whether users need file upload, web search and imported ChatGPT history, whether you run Docker Compose on a host or Helm on Kubernetes, and how much backup, monitoring and security review surrounds the deployment. Ask for a written scope that lists each of these, the milestones and the inputs you must supply, such as identity provider access, DNS, certificates and cloud accounts. A timeline without that list cannot be compared with another quote.
Can our team run LibreChat without an implementation partner?
Yes, for a contained pilot, if the team already runs containers on Linux. A Compose pilot mainly needs people comfortable with Docker, environment files, a reverse proxy, TLS and basic MongoDB administration. A production Helm deployment also needs Kubernetes operations: cluster upgrades, ingress, persistent volumes, secrets management, network policy and monitoring. Across both models, plan for identity federation with OAuth2 or LDAP, model provider keys handled as secrets, backup and restore testing and a repeatable upgrade routine tied to each release. The skills gap usually appears at the first upgrade or the first restore test, so have the team rehearse both before go-live. A partner adds the most value for the parts your team has not run before. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside your infrastructure under a written scope, which can cover some of this work or all of it.
Is a single VM acceptable for a production LibreChat deployment?
A single VM can serve a small internal pilot or a low-stakes team, but it is a single point of failure for production, so the choice is a risk decision you should document. Before accepting it, confirm how the MongoDB data and Meilisearch index are backed up and restored, whether a restore has been tested on a separate host, how the RAG API and uploaded files persist, how you roll back a failed upgrade, what outage window your users will accept and how you will size the host for your expected concurrent users. Ask LibreChat or your implementer for sizing guidance in writing. Also confirm that the host can be rebuilt from configuration within a time your business accepts. If any answer is no, a second node, managed backups or a Kubernetes deployment with replicas is the safer option to price.
Does LibreChat document a non-container install on a virtual machine?
Confirm this before you design around it. The LibreChat README documents Docker and Docker Compose configurations and Helm charts for Kubernetes. Check the LibreChat repository and its release notes for any non-container installation path, and confirm whether it is supported or experimental for the release you plan to run. If no such path is documented, a virtual machine deployment means a Linux host running the Compose stack in Docker, which is still a container deployment with its own host patching and Docker upkeep. Ask which runtime, MongoDB and Meilisearch versions each release expects and how upgrades are documented for the path you choose. Get these answers in writing before you select a VM approach for a regulated workload.
Who owns LibreChat after ClickHouse acquired it?
ClickHouse acquired LibreChat. It announced on November 4, 2025 that existing LibreChat deployments continue unchanged and that it will keep investing in the open-source project. The repository remains MIT licensed, and its latest tagged release on GitHub is v0.8.8, published on October 1, 2026 and marked as a pre-release. Ownership changes what you should request in writing: the public roadmap, the release and support policy for self-hosted users, whether any hosted or commercial offering will change how you license or upgrade, and whether the Helm chart and Docker configurations you rely on keep their current location and maintenance. The announcement is the vendor's statement, so keep your own upgrade testing and rollback plan regardless of who maintains the code.
How DeployOpen scopes, delivers and supports LibreChat deployments
DeployOpen approaches LibreChat on Docker, Kubernetes or virtual machines as a fixed-scope engagement: the platform choice follows your team's operating model, and the written scope records it before any work starts. We then build, harden, document and hand over the deployment inside your own infrastructure, with ongoing support available as a retainer.
How we scope
- The written scope names the topology you pick: Docker Compose, Kubernetes with Helm, or virtual machines.
- It lists the login methods (OAuth2, LDAP or email) and which model providers are enabled.
- Fixed-scope engagements agree deliverables in writing before work starts, and retainers can cover upgrades and testing afterward.
How we build
- Deploy LibreChat with its MongoDB, Meilisearch and RAG API services, adjusted to the topology your team will run.
- Configure the model providers, custom endpoints and secrets handling, and review the MCP tools and code interpreter you enable.
- Harden the setup and put backup and upgrade procedures in place for the database and search index.
How we hand over
- Documentation covers the chosen topology, the runbooks for upgrades and restores, and the configuration your team owns.
- Evidence for access control, logging and data handling is organized for your compliance team and external auditors.
- Ask in the quote which runbooks, training and handover artifacts are included, and who owns each one after go-live.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
- Upgrades follow LibreChat's release line, so the retainer should state how new tagged releases are tested before rollout.
- Confirm the support path after the ClickHouse acquisition of LibreChat, since upstream ownership now sits with that company.

