Open WebUI offline and air-gapped deployment

Open WebUI can run with no internet access when its model servers, embeddings, extraction, reranking, identity provider and package sources are all inside your boundary. This page explains what to build and what to verify.

On this page

How to run Open WebUI air-gapped without hidden internet calls

Open WebUI can run in an isolated network, but only when model inference, retrieval components, identity and software delivery are all reachable inside that network. The application's own offline settings do not replace network controls. A setting that disables a feature in the interface does not stop a container, a Python dependency download or a model pull from reaching the internet, so the boundary has to be enforced at the network layer and verified from the outside. Teams usually need this design when chat prompts and uploaded documents contain sensitive data, when data sovereignty rules keep processing inside national or organizational borders, or when the deployment sits near operational technology networks where outbound paths are tightly restricted.

The work divides into four dependencies. Inference usually comes from Ollama or an OpenAI-compatible server such as vLLM running on hardware you control, and Ollama's local API on port 11434 requires no authentication by default, so it must stay bound to an internal address and behind your own access controls. Retrieval needs a local embedding model, an extraction engine, and a reranker, all loaded from internal storage. Identity needs a reachable OIDC or LDAP provider, because single sign-on fails closed in an offline network when the identity provider is outside the boundary. Software delivery needs an internal registry, package mirror and model library, with every artifact checked for integrity before it crosses into the isolated zone. Confirm each dependency in a test network before the build starts, including the Open WebUI release you intend to run, since the project publishes new releases frequently.

Which components must work without internet access

An offline Open WebUI deployment is only as offline as its weakest dependency. Each component below either runs inside the boundary or quietly reaches out to a public service, so each needs a named source, a local copy and a check that it stays silent under test.

Model runtime

Open WebUI talks to a model server over an API, and that server is the first thing to confirm. Ollama keeps the local API on 127.0.0.1 port 11434 without authentication, and its cloud features can be disabled with OLLAMA_NO_CLOUD=1. If the runtime is set to call ollama.com, prompts leave the boundary. For vLLM, confirm the serving flags and that it loads weights from local disk. Ask each vendor which endpoints it contacts at startup and during inference.

Ollama FAQ

Embedding and reranking models

Retrieval depends on an embedding model and, when enabled, a cross-encoder reranker. Both download weights on first use unless they are staged in advance. If the model cache is empty inside the boundary, document ingestion fails or silently reaches a public hub. Stage the model files, set the cache path explicitly, and confirm with your team which versions were approved. Re-embedding after a model change touches every stored document, so plan that work before you switch models.

Document extraction

Extraction engines convert PDFs, Office files and images into text before chunking. Some extraction options call external services or fetch helper packages at runtime. Confirm which engine you select, whether it needs network access for language packs or OCR models, and whether any hosted extraction option is enabled by default. Test with real document types from your environment, since a file that extracts cleanly on a connected build can fail when a model file is missing.

Identity provider over OIDC or LDAP

Open WebUI supports SSO through OIDC and LDAP, and both need a reachable directory inside the boundary. The identity provider must be able to reach your directory and must itself be reachable from the Open WebUI network, with discovery documents and signing keys served locally. Check that the OIDC issuer URL resolves internally, that JWKS keys are cached, and that certificates chain to your internal CA. Without this, sign-in fails for every user, including administrators.

Open WebUI features

Container images and pip packages

Install methods are Docker and Docker Compose, Kubernetes with Helm, and pip install open-webui. Each one pulls images or packages at build or start time. Mirror the image and every Python dependency into an internal registry or package index, then pin versions and record digests. Confirm with the vendor which tags to mirror for each release, and test an upgrade in a staging boundary before you move it to production. Packages that install fine online may still need wheels that were never staged.

Open WebUI documentation

Vector database and PostgreSQL

Multi-instance deployments need PostgreSQL rather than SQLite, and need an external vector database, since the default ChromaDB will crash in multi-process setups. Both must be hosted inside the boundary with local backups. Confirm that the vector store you choose from the 13 supported options runs fully offline and does not phone home for telemetry or license checks. Also verify that Redis and shared file storage remain reachable from every replica.

Scaling Open WebUI

Choosing Ollama or an OpenAI-compatible server offline

Ollama keeps downloaded model weights in a default directory that depends on the operating system. This matters offline because every model must already be on disk before the connected network is cut. On macOS the default is ~/.ollama/models, on Linux it is /usr/share/ollama/.ollama/models, and on Windows it is the .ollama\models folder in the user profile. Setting OLLAMA_MODELS moves the store to a directory you control, such as a dedicated volume with capacity, permissions and backups planned.

  • Default paths: Each operating system uses its own location, so a service account on Linux may not see models staged in a personal home directory.
  • OLLAMA_MODELS: Point this variable at the dedicated volume before the first pull so the store is sized and owned on purpose.
  • Staging on a connected host: Pull the models on a connected build machine, copy the store across the boundary through your approved transfer process, and verify checksums on arrival.
  • Permissions: The service account needs read access to the store, while write access should stay with the staging process.
  • Inventory: Record each model name and tag in your change record so reviewers can match the store to what was approved.

After the service restarts, confirm the resolved model directory on the target host, because a service started under a different user may read from a path that differs from the one you staged.

Setup sequence for an isolated Open WebUI build

This sequence takes an Open WebUI deployment from an undefined network boundary to a tested isolated system where every image, package, model and identity flow is known, approved and verified. Each step ends with an artifact or check that the next step depends on. Ask your implementation partner or internal team to confirm the order against your own approval process before work starts.

  1. Define the boundary and allowed flows

    Document which networks the Open WebUI host, database, Redis, vector store and model server sit on, and list every permitted flow between them, such as users to the web interface, the web interface to the identity provider, and the web interface to the local model endpoint. Name the owner who approves each flow and the firewall or policy objects that enforce it. The step is done when the flow table is signed off by security and the network team, and every flow not on the list is blocked by default.

  2. Stage images, packages and model weights

    Move container images, Python packages for the open-webui install, model weight files and any extraction or embedding assets through your approved transfer process, such as a scanned media workflow or an internal artifact mirror. Record a checksum or signature for each artifact and keep the manifest with the transfer record. Verify integrity and provenance inside the isolated network before anything is installed. The step is done when every artifact in the bill of materials has a matching hash and an approval record.

  3. Deploy PostgreSQL, Redis and the external vector store

    For a multi-replica design, deploy PostgreSQL as the application database instead of SQLite, Redis as the shared state store for sessions, websocket connections and application state, and an external vector database in place of the default ChromaDB, which the scaling guide warns will crash in multi-process setups. Provision shared file storage so uploads and knowledge stay reachable from every replica. Confirm each service accepts connections only from the Open WebUI nodes. The step is done when all three services pass a connection test from each replica and the stores are reachable without any outbound route.

  4. Connect the identity provider

    Deploy or confirm an identity provider inside the boundary, then configure Open WebUI single sign-on using OIDC or LDAP, which the features documentation lists as supported. Map the redirect URIs and certificates to internal names, and decide whether SCIM 2.0 provisioning will run in the same stage or later. Test sign-in with a standard user, an administrator and a locked account, and confirm that sign-out revokes the session. The step is done when each test account behaves as the access policy requires.

  5. Configure local model and embedding endpoints

    Point Open WebUI at a model server that runs inside the boundary, such as Ollama on a private address or an OpenAI-compatible server you operate. Set Ollama to bind to an address your proxy can reach through OLLAMA_HOST, keep cloud features off with OLLAMA_NO_CLOUD=1, and move model storage with OLLAMA_MODELS if needed. Configure the embedding and reranking models from local files so retrieval never calls an external service. The step is done when a chat, an embedding call and a reranking request complete with the network routes to the internet removed.

  6. Verify with an egress test

    From each Open WebUI replica, the database host and the model server, attempt outbound connections to public DNS, package indexes, model registries, telemetry endpoints and external identity providers, and record every attempt. Expect all of them to fail at the boundary, and log the denied attempts to your central collector. Check that the application produces no failed requests to external hosts during a full test session covering login, chat, upload and knowledge search. The step is done when the egress report shows zero allowed external connections and the expected internal flows succeed.

  7. Retest after every change

    Repeat the egress test and the flow check after each upgrade, new model, new image, new plugin or configuration change, and record the results against the change ticket. Compare the new bill of materials with the approved manifest before moving anything into the boundary. Keep the test scripts and their outputs in the change record so an auditor or assessor can trace each change to its verification. The step is done when the change record links the retest results and the approval to the deployed version.

What offline settings do not control

This table lists the outbound paths that Open WebUI settings cannot close on their own, along with the team that owns each path and the evidence to keep. Offline mode in the application reduces traffic it initiates, but the firewall, DNS, proxy and mirror policy decide what the host can actually reach. Treat every row as a control you verify from the network side, not one you assume from the application configuration.

ControlOwnerWhat to verify and keep as evidence
Egress filtering at the firewallNetworkDefault-deny outbound rules for the Open WebUI host and container network, with exported rule sets and change records
DNS resolution policyNetworkInternal resolvers only, with logs showing blocked external lookups from the Open WebUI subnet
Proxy policy for outbound web trafficPlatformDocumented proxy variables, if any, and proof that they are not set to a public relay the organization does not control
Container image and package registriesPlatformInternal mirror or registry paths for images, Python packages and model files, with a record of what was imported and when
Update and release channelsSecurityA written decision on who may pull new Open WebUI releases into the isolated network, plus hash or signature checks on each imported artifact
Telemetry and vendor callbacksSecurityConfirmed settings for every telemetry or update check the installed version exposes, verified by traffic capture during a test run
Outbound web search and tool callsSecurityWeb search providers and external tool servers disabled unless approved, with configuration exports and blocked-request logs
SSO metadata and JWKS fetch at runtimePlatformConfirm whether the identity provider's metadata is fetched at startup or per request, and whether the host can reach that endpoint from the isolated network

How software and model updates cross an isolated boundary

Every update that enters an isolated network should pass a documented verification step before anyone installs it. That covers the Open WebUI container image or package, the Ollama binary, each model weight file, the vector database and extraction images, and any Python dependencies pulled into the build. For each artifact, record where it came from, the version or digest it carries, the checksum or signature the publisher provides, and who approved it. NERC CIP-013-2 expects utilities to define supply chain procurement processes that verify the integrity and authenticity of vendor software and patches. You do not need to be a utility to borrow that pattern: it is a good model for any regulated team carrying packages across an air gap. Confirm each publisher's signing and checksum method directly with the project before you rely on it, because the method varies by artifact and release channel.

Open WebUI needs an assessment step beyond integrity. Releases such as v0.12.3, published on the project's GitHub releases page on October 16, 2026, should be reviewed against the Open WebUI License before they reach production. Since v0.6.6, code is distributed under a license with a branding protection clause that applies above 50 users in any rolling 30-day period, unless the operator holds an enterprise license or written contributor permission. Review the upgrade path as well: read the release notes for database migrations, changed environment variables and dependency changes, and test them on a staging copy first. Ollama releases follow a similar pattern. Its releases are frequent, so pin the version you have validated and record the model tags and digests that were approved with it. Ask your team to confirm whether each release is a stable release or a pre-release before it is promoted.

Keep a transfer record that links each imported artifact to its validation result, approver and install date. Store the record with the offline media and the staging environment so an auditor or incident responder can trace what runs in production back to a verified source. Plan for the next cycle as well, since the same checks will repeat on every upgrade and every new model. Ask any implementation partner to show how they document this flow, including how rollback artifacts are kept, because a validated update that cannot be reverted still leaves the isolated environment exposed.

Security controls to add beyond the offline setting

Turning off internet access does not make a deployment secure on its own. The controls below decide who can reach Open WebUI, what it can reach, how administrators act and where evidence and data stay, and each one needs to be designed and tested separately.

Deny egress by default

An offline setting does not stop a container, plugin or model connector from opening outbound connections. Set the network policy so the Open WebUI pods or hosts can reach only the named identity provider, the model endpoints, the internal vector store and the package or image registry. Test the policy by attempting an outbound request from inside the workload and confirming it fails. Record the allowed destinations in the change log so reviewers can compare them with the design.

Open WebUI docs

Reach the identity provider on a controlled path

Single sign-on depends on the identity provider being reachable, so plan a fixed route from Open WebUI to it through the internal network, with certificates trusted inside the boundary. Confirm which SSO method you use, OIDC or LDAP, and what happens when the identity provider is down, including whether local administrator access is kept for recovery. Document who owns that path and how it is monitored.

Enforce MFA through the identity provider

Open WebUI documents authenticator-app MFA, but an air-gapped deployment often sends sign-in to an internal identity provider that already holds the second factor policy. Decide where MFA is enforced and confirm that local password accounts are disabled or tightly limited. Check that API keys, which can bypass interactive sign-in, are issued only to approved users and are reviewed on a schedule.

Restrict administrator access

Administrators can change connections, models, users and permissions, so their access deserves its own control set. Limit the admin role to a small named group, require the strongest MFA available to that group, and separate admin sessions from everyday use where your tooling allows. Confirm that changes to model connections and tool settings are visible to a reviewer and cannot be made silently by a single account.

Keep audit logs inside the boundary

Logs that leave the air gap for collection need their own approval, so plan a local log destination with retention set by your records policy. Capture sign-ins, admin changes, model connection edits and file uploads, and confirm the logs record the user identity rather than only a shared service account. Test that logs remain readable after a restart and that someone outside the platform team can search them.

Protect secrets and data at rest

Model connection keys, identity provider secrets and database credentials should live in a secrets store inside the boundary, not in plain configuration files. Encrypt the database volume, the upload storage and the vector store with keys your team controls, and confirm that backups carry the same protection. Ask each storage vendor which encryption and key management options its deployment supports before you rely on them.

Open WebUI docs

Questions buyers ask before an air-gapped Open WebUI build

What drives the cost of an air-gapped Open WebUI build?

The biggest drivers are how many boundaries the data and packages must cross, how many model servers and vector or extraction services must run inside the perimeter, how hard the identity integration is, and how often the team must bring updates across the boundary. Each of these adds design, build and test work. The cost is mostly one-time for design and build, with recurring cost for each update cycle, since every container image, model file and rule set must be verified and carried across again. Ask any partner for a quote that breaks out these items separately, and confirm who pays for hardware, licenses and model storage. DeployOpen does not publish prices, and a quote follows from the written scope.

How long does an air-gapped Open WebUI deployment take?

Duration depends mostly on the environment rather than on Open WebUI itself. The schedule grows with the number of approval steps for transferring software into the isolated network, the number of model servers and retrieval components, the identity provider integration, and the security review the organization requires. A single-network lab with one model server is far simpler than a multi-zone production build with a regulated change process. DeployOpen agrees timelines in writing as part of a fixed-scope engagement, so ask for the milestones and the dependencies on your approvals before work starts.

What must our team provide before an air-gapped build starts?

Plan to supply several inputs early, because most delays come from missing access rather than from build work:

  • Network diagrams that show every zone, the boundary devices and the routes that will exist between them.
  • Access to the identity provider, with the protocol settings, group structure and a test account.
  • Approved internal mirrors for container images, Python packages and model artifacts, or a documented process for bringing them across.
  • A decision on which models, embedding models and extraction engines will run, with their licenses reviewed.
  • Named owners for change approval, security review and the update process.
Can our own team build an air-gapped Open WebUI deployment?

Yes, an internal team can do it if it has experience with container platforms, reverse proxies, identity federation and offline package management. The Open WebUI documentation covers offline use with Ollama or OpenAI-compatible APIs, and vLLM documents an offline docs option for isolated environments. The harder parts are the ones that sit outside the application: verifying software before it crosses the boundary, keeping mirrors current, and proving the setup to auditors. Compare your team's capacity for those tasks against a partner's fixed-scope offer, and confirm the handover material you will receive either way.

Does an enterprise license change the offline design?

The offline architecture stays the same. An enterprise license is a commercial agreement that adds white-labeling, custom branding and dedicated support options, and it does not by itself remove the need for a local model server, a reachable identity provider or boundary controls. Open WebUI's License also forbids altering branding in deployments above 50 users in any rolling 30-day period unless the operator holds an enterprise license or written contributor permission, so the licensing decision can affect the user-facing build. Pricing is not published and is quoted after contacting enterprise sales with an expected seat count.

Which network controls does an offline setting not provide?

Offline settings in an application tell it not to reach the internet, but they do not restrict what the network permits. Your team still needs firewall rules that block unwanted egress, controlled paths for identity traffic and admin access, and monitoring of boundary crossings. Compliance programs such as NERC CIP-005-7 expect an electronic security perimeter with controlled remote access, including encryption, multi-factor authentication and the ability to disable vendor sessions where that standard applies. Confirm with your assessor which of these controls apply to your environment before you finalize the design.

How do we verify software before moving it into the isolated network?

Set a documented transfer process that checks the integrity and authenticity of every container image, package, model file and rule update before it enters the network. NERC CIP-013-2 addresses supply chain procurement processes that include verifying software integrity and authenticity for vendor software and patches, and similar expectations appear in other frameworks. Record each transfer, the checks performed and the approver. Ask any partner how this process will be documented and handed over, and confirm with your compliance team which evidence they need to see.

Limits to confirm in your environment

An offline label does not prove that every feature is offline. The cards below are checks to run in your own network, against the версии and features you actually plan to use, before you sign off on the design. Each one ties back to a boundary that a vendor setting or a README will not settle for you.

Outbound calls per feature

Test each feature you plan to use with egress blocked, not just the default chat path. Model pulls, web search, speech, image generation, telemetry and update checks can each reach external hosts. Record what fails, what degrades silently and what must be disabled in configuration. Keep the result as evidence for your reviewers, and retest after every upgrade because new features can add new calls.

Open WebUI features

Extraction engines and rerankers

Document extraction, embedding models and cross-encoder rerankers may download model weights or parser components on first use. Confirm whether each one is bundled in your image, pre-seeded to a local path or fetched at runtime. A retrieval feature that works in your test lab can fail in the enclosed network if its model was never staged.

Identity provider reachability

Sign-in depends on the identity provider being reachable from every Open WebUI instance, including the callback path and the certificate chain it presents. Confirm that the OIDC or LDAP endpoints sit inside the enclosed network, that DNS resolves them and that key rotation and certificate renewal have an offline procedure. Plan for what happens to existing sessions if the provider is unreachable.

Vector database at replica count

The default ChromaDB is not suitable for several workers or replicas, so choose an external store before you scale. Confirm that the chosen database is deployed inside your boundary, that it supports your planned replica count and that its backups and restores are tested offline. Ask the vendor which deployment modes they support without internet access.

Supported vector databases
13

Model licenses for your use

Each local model carries its own license, which can restrict commercial use, redistribution, output use or user thresholds. Read the license text for every model you stage, record the version you approved and keep it with the deployment record. Open WebUI's own license terms are a separate question and should be reviewed alongside them.

Archived components

LLM Guard was archived in July 2026 and is no longer maintained, so do not rely on it as a current input or output control without a documented decision. If a scanner or guardrail is part of your design, pick one that is actively maintained, confirm its offline model handling and record who owns patching. Treat compliance support as preparation for an assessment, not certification, since independent auditors and certification bodies issue those results.

How the offline components and trust boundary fit together

The diagram starts with users reaching Open WebUI through a reverse proxy inside the boundary. Open WebUI then calls the identity provider for sign-in, a local model server such as Ollama or vLLM for inference, and the embedding and reranking services for retrieval. Its state sits in PostgreSQL and Redis, its vectors in an external vector store, and its files in shared storage. Packages reach the boundary only through an internal mirror, and the outbound-blocked zone sits outside it. Check that every arrow inside the boundary resolves locally and that nothing crosses outward.

Components inside the trust boundary and the only path packages take in.

What your team owns after the build

The recurring work after an air-gapped build falls to your team, not to the build partner unless you buy a retainer. The first duty is watching the boundary itself. Someone must own the list of permitted outbound paths, the firewall or diode rules that enforce them, and the evidence that nothing new has opened. Open WebUI, Ollama and the vector store all make requests during normal use, so an unexpected connection often shows up as a failed feature or a slow response before anyone notices it as a network event. Your operations runbook for Open WebUI should say who reviews boundary logs, how often, and what happens when a change request touches the enclosure.

Updates and model changes are the second duty, and they need a staging path that mirrors production. Each Open WebUI release, Ollama release and model file must be checked before it crosses the boundary, then tested in a copy of the environment. Release frequency is not fixed: the project published v0.12.3 on October 16, 2026, after v0.12.0 on October 10, so the cadence in your environment will depend on your own policy, not the project calendar. Keep a record of each model's source, version and checksum, and retest the chat, retrieval and tool paths after every change, since a new model or Open WebUI version can alter behavior that users depend on.

Credential rotation and egress retesting close the loop. Rotate the database, Redis, identity provider client secrets, API keys and any service account used by Open WebUI on a schedule your security team sets, and confirm each rotation in the Open WebUI admin settings and in the connected services. After every change to network rules, DNS, proxies or model paths, repeat the egress test from inside the enclosure and record the result. Ask your build partner or security team to supply the test scripts and the expected results as part of handover, so these checks can be repeated by your own staff. Confirm with them whether the runbooks and tests are included in the handover or priced separately.

How DeployOpen scopes and delivers offline Open WebUI

DeployOpen plans, builds, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including air-gapped networks. For Open WebUI offline and air-gapped deployment, the work starts with a written scope that separates what runs locally from what must be reachable, then builds and tests each part against that boundary.

How we scope

  • Inventory which model servers, embedding and reranking services, extraction engines and identity providers must run inside the boundary.
  • Define the written scope for Open WebUI offline and air-gapped deployment, with deliverables and timelines agreed before work starts.
  • Map network controls, package transfer routes and the identity provider reachable from the isolated network.

How we build

  • Deploy Open WebUI with the chosen install method, backed by PostgreSQL and Redis where the replica count requires them.
  • Stage local inference, embedding, extraction and reranking with models and dependencies loaded from approved media.
  • Test that the deployed system fails closed on outbound requests and that sign-in, admin access and retrieval work offline.

How we hand over

  • Deliver the architecture, configuration, network boundary and model and package inventory as written documentation.
  • Document the transfer procedure for updates, including how each package and model is checked before it crosses the boundary.
  • Walk your operations and security teams through backups, logs, access reviews and the upgrade path for Open WebUI releases.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, scoped in writing.
  • Retest the isolated deployment after each Open WebUI or model update before it is accepted into production.
  • Prepare system descriptions, configuration evidence and access records your compliance team can give to independent assessors.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.