Docmost on Docker vs Kubernetes vs VMs

Docker Compose is the documented install path for Docmost and suits teams that want the fewest moving parts, while Kubernetes suits teams already running clusters. This page covers sizing, availability, upgrades, backup and operating skills for each model.

On this page

Which Docmost deployment model fits your team

A team lead choosing how to run Docmost should first ask who will operate the host, the containers and every upgrade after go-live. Docker Compose is the documented install path for small platform teams, and Docmost's installation documentation names Docker as the recommended method. The compose template runs Docmost with PostgreSQL 18 and Redis 8 images, so a Compose deployment has four parts to patch and monitor: the application, the database, the cache and the reverse proxy in front of them. Compose suits a team that wants one reviewable file, a single host and a short runbook for backup, restore and upgrades.

Kubernetes fits teams that already operate clusters and their own controls. If your platform team already manages admission policy, secrets handling, ingress and backup tooling, Docmost can inherit those controls instead of requiring a parallel set. Confirm whether the Docmost project publishes Kubernetes manifests or a chart you can adopt, because the documentation supplied for this comparison covers the Docker path. Plan to write, test and maintain your own manifests if none are available. Virtual machines are the host layer in both cases. Whether Compose runs on a VM or Docmost pods run on a Kubernetes node pool, the VM's patching, disk sizing and network rules still apply, so the infrastructure team should join the design review.

The deployment model does not change the license, edition or paid features. Docmost's core is licensed under AGPL-3.0, code in the ee directories falls under the Docmost Enterprise license, and single sign-on, LDAP, SCIM and page-level permissions are paid-edition features whether Docmost runs in Compose, Kubernetes or a VM. Before you size a cluster around a feature, confirm its edition with the vendor. Then check three items in your own environment: whether local file storage is acceptable or you need S3-compatible or Azure Blob storage, whether your reverse proxy passes WebSocket connections for the real-time editor, and who owns rotation of APP_SECRET, which must be at least 32 characters.

How Docmost on Docker Compose compares with Kubernetes

This table compares running Docmost with the documented Docker Compose template on a virtual machine against running it on a Kubernetes cluster. Read each row with the documented Compose position first, then the points to confirm for Kubernetes. The main takeaway is that the installation documentation covers the Compose path, so a Kubernetes deployment needs its own design and written confirmation from Docmost before you commit.

AreaDocker Compose on a VMKubernetes cluster
PackagingDocmost's documented Docker Compose template, which is the recommended installation methodInstallation documentation covers Docker; confirm with Docmost whether manifests or a Helm chart are published
Components runDocmost, PostgreSQL 18 and Redis 8 containers defined in one compose fileSame components mapped to workloads, services and volumes; confirm supported PostgreSQL and Redis versions with Docmost
SizingDocumentation gives no CPU or memory figures; ask Docmost for sizing guidance for your expected loadRequests and limits follow your cluster standards; ask Docmost for the same sizing guidance before setting them
High availabilityThe compose template runs every service on one host; plan failover separately and confirm with DocmostConfirm whether Docmost supports more than one application replica and how database and cache failover is handled
Reverse proxy and real-time editorEnable WebSockets on the reverse proxy in front of the compose stackEnable WebSocket support on the ingress controller and check the setup against your cluster standards
UpgradesImage tags are set in the compose file; confirm the upgrade procedure and migration notes for each release with DocmostConfirm the supported upgrade path and any migration steps with Docmost, then roll out under your change process
BackupLocal file storage is the default, so back up the attachment volume and PostgreSQL; S3-compatible or Azure Blob is optionalBack up PostgreSQL and attachment storage through persistent volumes or object storage, following your cluster standards
MonitoringDocumentation does not list health endpoints or metrics; plan host and container checks and confirm with DocmostConfirm metrics and health checks with Docmost; cluster monitoring follows your platform team's stack
Skills and responsibilitiesLinux host hardening, Docker and Compose, reverse proxy, TLS, and secret handling for APP_SECRET of at least 32 charactersCluster operations, ingress, persistent volumes, secrets and network policy, on top of the same application skills

How the three options stack on the same infrastructure

The three options differ mainly in which layer your team has to operate. Docmost's recommended Docker installation uses a compose template that runs the Docmost server with PostgreSQL 18 and Redis 8 images, so the service definitions, image tags and the APP_SECRET value (at least 32 characters) become part of what your team deploys and maintains. A virtual machine is the machine or hypervisor guest underneath that stack, so it carries the guest operating system, kernel patches, disk, network and host hardening. Kubernetes adds a scheduler that places containers across nodes, and those nodes are often VMs, which means a cluster stacks one more layer on the same VM work.

Each layer has an owner and a recurring cost. On Docker running on one VM, your team patches the guest OS, updates the Docker engine, and pulls new Docmost, PostgreSQL and Redis images, while paying for the VM and its storage. Kubernetes shifts restart and placement logic into the cluster, but adds control plane upkeep, node image updates and cluster upgrades, which usually sit with a platform team. Ask a vendor or internal team who patches the node image, who owns the PostgreSQL upgrade path, and whether Redis runs alone or is shared with other workloads. Those answers decide the monthly operating effort more than the choice of container runtime does.

Data responsibilities stay with the same team under all three options. The PostgreSQL database holds page content and metadata, and attachments stored locally by default live on a host path or volume, so backups must cover both. Confirm that the reverse proxy in front of the stack keeps WebSockets enabled, because the real-time editor depends on it in every option. Before you commit, write down an owner for each task: OS patching, image updates, database backup and restore, TLS certificates, proxy configuration and out-of-hours response to a failed upgrade. Any task without a named owner will fall to whoever notices the outage first.

What a Docmost deployment needs beyond the application container

Docmost's Docker template ships the application with PostgreSQL 18 and Redis 8, but the same six parts exist whichever platform you choose. Each one changes owner on Kubernetes or a bare VM, and that change decides how much operating work your team takes on.

Docmost application container

The Docmost server is the part everything else supports, and it changes most between platforms. Docker is Docmost's recommended installation method, and its compose template runs the application as a container. On Kubernetes you write the Deployment, health probes and resource limits yourself. On a bare VM you install the server and keep it running with a process supervisor such as systemd. Before you run more than one replica, confirm multi-instance support with Docmost, including whether several servers can share one PostgreSQL, Redis and file store.

PostgreSQL 18 database

PostgreSQL holds the application data, so it is the first state you must back up and restore. The Docker template runs PostgreSQL 18 as a container beside the app, which is quick to start but leaves backups and upgrades with your team. On Kubernetes, a common pattern is an operator-run or managed PostgreSQL 18 that the application connects to. On a VM, you install, patch and tune the database yourself. Confirm multi-instance support by asking whether an external PostgreSQL 18 with replication and failover is supported for your release.

Installation docs

Redis 8 cache

Docmost's compose template runs Redis 8 beside the application and database. Redis is a second stateful service, so it needs its own restart, memory and persistence decisions on every platform. On Kubernetes it usually becomes a StatefulSet or a managed service that you monitor and size separately. On a VM it is one more package to install, patch and firewall. Confirm whether several application instances can share one Redis endpoint, and what users see when Redis restarts, since that decides whether an outage is a brief disruption or lost work.

File storage backend

Docmost stores file attachments on local disk by default, with S3-compatible or Azure Blob storage as the other options. Docker keeps local files in a volume on one host, which is simple to back up on a single machine. On Kubernetes, replicas on different nodes cannot all reach a node-local disk, so object storage or a shared volume becomes the practical choice. On a VM, local disk works until you add a second server. Confirm that every instance reads and writes the same bucket or share before you scale out, and confirm how attachments are included in your backup job.

Reverse proxy with WebSockets

Users reach Docmost through a reverse proxy, and the real-time editor needs WebSockets enabled on that proxy. On Docker this is usually a proxy container or a host proxy that forwards the upgrade headers. On Kubernetes, check that your ingress controller passes WebSocket connections and idle timeouts long enough for editing sessions. On a VM, configure the proxy you already run with the same upgrade handling. Confirm how your proxy handles session affinity across several application instances, because a dropped socket can interrupt live editing.

APP_SECRET handling and rotation

The APP_SECRET value must be at least 32 characters, and the compose template expects one of that length. Generate it once, store it outside the image, and keep the same value on every instance. On Docker it belongs in an env file with restricted permissions, on Kubernetes in a Secret, and on a VM in a protected environment file. Treat rotation as a planned change: confirm with Docmost what happens to existing sessions and stored data if the value changes, and whether scaling out requires identical values on every instance.

How a Docmost request flows through the proxy, app and data tiers

Traffic starts in the user's browser and reaches the reverse proxy, which must pass WebSocket upgrades through to Docmost or the real-time editor will not work. The Docmost application then sends its database, cache and file calls through the team's own network controls, which sit at the edge of the data tier. PostgreSQL holds the content, Redis supports the application, and attachments go to local storage by default or to S3-compatible or Azure Blob storage if you configure them. Check the proxy WebSocket setting first. Kubernetes ingress, service routing and network policy are not documented architecture for this comparison, so confirm each of them with your platform team before you rely on it.

Request path from browser to data tier, with the team's controls at the boundary.

How high availability works for a single Docmost deployment

A documented Docmost deployment runs one application container alongside PostgreSQL 18 and Redis 8, the image set in the Docmost installation documentation compose template that Docmost recommends for Docker. Uploaded files sit on local storage by default. Availability therefore depends on the components around the single application instance, so the first decision is whether your team accepts one application instance with fast recovery or plans something more elaborate. Check the restart policy on every container, confirm the host starts the stack after a reboot, and measure how long a full restart takes on your own hardware, because no vendor figure will tell you that.

Three components decide how long a failure lasts. The first is database failover. PostgreSQL holds pages, users and permissions, so confirm who runs replication and promotion, how a failed primary is detected, and whether Docmost reconnects without manual changes to its configuration. The second is storage redundancy. Under local file storage, durability depends on the disk or array under the host. The S3-compatible and Azure Blob options move that responsibility to the storage service, so ask about its replication and whether your team can restore from it. The third is backup. Back up PostgreSQL and file storage together and restore both to a common point in time, since pages can point at attachments that no longer exist otherwise. Redis 8 also runs in the stack, so confirm what state it holds in your version before deciding whether it needs its own backup.

Before you design for more than one application instance, ask Docmost in writing whether the application supports more than one running instance, and under which configuration. The answer shapes several decisions: whether real-time editing sessions survive a move between instances, whether the reverse proxy needs session affinity beyond WebSocket support, and whether shared file storage is required. Until that answer is on file, plan for one application instance and document the recovery steps and their owners. Do not put an uptime percentage in a business case based on this setup. Ask for recovery evidence from your own tests, and treat any figure you cannot trace to a test as an estimate.

Upgrades, backups and monitoring for each Docmost deployment model

This table compares how each Docmost deployment model handles upgrades, backups, monitoring and the skills your team needs to run it. Read each row across the three columns, and confirm the Redis questions with Docmost before you commit. The main takeaway is that the PostgreSQL database and file storage must be backed up together in every model, so the choice mostly changes who automates those steps.

AreaDocker ComposeKubernetesVirtual machines
Version pinningPin an exact tag such as v0.96.0, tagged September 8, 2026, from the GitHub tags page.Pin the same exact tag in manifests or Helm values, and promote it through a staging namespace first.Pin the same exact tag in your deploy script so every host runs the same build.
Upgrade pathBack up, change the pinned tag in the compose file, pull the new image and restart the stack.Change the pinned tag in a staging release, check the release notes, then roll it to production.Back up, stop the service, replace the application files, then confirm any migration step in the release notes.
Backup scopePostgreSQL database, the local file storage volume and the environment file holding APP_SECRET, taken in the same window.PostgreSQL database, the persistent volume for files, and Secrets or config, captured at the same point in time.PostgreSQL dump, the file storage directory and the config file, run together in one scheduled job.
Redis dataThe compose template runs Redis 8 beside PostgreSQL 18. Confirm with Docmost whether Redis holds data you must back up.Redis runs as a separate workload. Ask Docmost whether it holds state that needs backup or can be rebuilt.Redis must be installed separately. Confirm with Docmost whether any Redis data needs backup before you schedule jobs.
MonitoringContainer health checks, restart counts and disk use on the file volume, plus reverse proxy errors for WebSockets.Pod status, restarts and volume capacity, with alerts on the database and Redis workloads in your cluster monitoring.Host metrics, service status, disk use for files and PostgreSQL, and log shipping from the application host.
Skills requiredDocker Compose, Linux, PostgreSQL basics and a reverse proxy configured for WebSocket support.Kubernetes manifests or Helm, storage classes, secrets handling, PostgreSQL operations and cluster monitoring.Linux administration, service management, PostgreSQL operations, backup scripting and manual host patching.

Steps to a first Docmost install on Docker

This sequence takes a team from an empty host to a Docmost instance that people can sign in to, edit in and restore. It follows the Docker path, which Docmost recommends, and marks where Kubernetes or a bare virtual machine changes the work. Check each step against the installation documentation before you start, because the compose template and its settings are the base the rest of the sequence depends on.

  1. Prepare the host and DNS

    Provision a host with Docker and Docker Compose in a network segment your team can reach, then create a DNS record for the wiki hostname that points to it. Check that the host has enough disk for attachments and database growth, and decide where backups will be written before anything is installed. The step is done when the hostname resolves from a workstation and the host can pull the container images. Under Kubernetes, this step becomes cluster and ingress readiness plus a DNS record for the load balancer. On a bare VM, you also own the operating system packages, time sync and firewall rules.

  2. Set a strong APP_SECRET

    Generate an APP_SECRET of at least 32 characters, as the compose template requires, and store it in a secrets manager or a protected environment file. Keep the value out of version control and record it in your password vault so you can recover the installation. The step is done when the variable is visible to the Docmost container and the stored copy has been tested. Under Kubernetes, store the value as a Secret object and reference it from the deployment. On a bare VM, limit read access to the service account that runs Docmost. Before you plan any rotation, ask Docmost which stored data depends on this value.

  3. Start from the compose template

    Copy the Docker compose template from the installation documentation and start the stack with its PostgreSQL 18 and Redis 8 images. Pin image tags to versions your team has reviewed and record them in your change log, so every upgrade is a deliberate decision. The step is done when the Docmost, PostgreSQL and Redis containers report healthy and the first page loads on the internal address. Under Kubernetes, the same services become workloads you deploy from manifests or Helm charts, with your own persistent volumes. On a bare VM, confirm with the installation documentation which non-Docker install paths are supported before you choose that route.

  4. Choose the file storage backend

    Decide between local disk, S3-compatible object storage and Azure Blob storage for attachments. Local storage is the default in the compose template and needs no extra service, but its volume must be backed up with the database. S3-compatible or Azure Blob storage keeps file data outside the container host, so you need credentials, a bucket or container and a tested restore path. The step is done when an uploaded attachment is still readable after the container is recreated. Under Kubernetes, local storage means a persistent volume with its own backup plan. On a bare VM, local storage is a host directory, so it belongs in your host backup set.

  5. Configure the reverse proxy for WebSockets

    Place a reverse proxy with TLS in front of Docmost, forward the wiki hostname to the application port and enable WebSocket upgrades. The real-time editor depends on WebSockets, so a proxy that forwards only plain HTTP will load pages but fail to sync edits between users. The step is done when two browser sessions see each other's changes in the same page without reloading. Under Kubernetes, confirm that the ingress controller allows WebSocket connections and review its timeout settings with your platform team. On a bare VM, the same proxy rule applies, and you also own certificate renewal and the firewall path.

  6. Test the editor and sign-in

    Create a test space, a test user and a page with a diagram and an attachment, then open that page in two browsers to check live collaboration. Sign in with the method you plan to use in production, whether email and password or single sign-on. Single sign-on with SAML 2.0 or OIDC is listed among Docmost's paid-edition features, so confirm your edition before you test it. Record each result on a short checklist and fix any failure before real content is loaded. Under Kubernetes or a bare VM, repeat these checks after every change to the ingress, storage or identity path.

  7. Take and restore a first backup

    Back up the PostgreSQL database and the file storage together, then restore both into a separate test instance to prove the copy works. Use a backup tool that supports PostgreSQL 18, and record where the backup is written and who can read it. The step is done when the restored instance opens the test page with its attachment intact. Under Kubernetes, the backup tooling must cover persistent volumes or object storage as well as the database, and restore tests should run in a separate namespace. On a bare VM, include the service configuration and the stored APP_SECRET in the recovery set.

What running Docmost yourself costs in effort and skills

What drives the cost of running Docmost yourself?

The Docmost software carries no license fee in the Community edition, so most of the cost is people time and infrastructure. Self-hosting the free Community edition under AGPL-3.0 costs nothing in licensing, but your team pays for the staff who install, patch, back up and monitor it, and for the servers, storage and network it runs on. Setup is largely one-time work, while patching, upgrades, backup checks and on-call coverage recur over the life of the system. The main drivers are how many users depend on it, how much uptime you need, whether you add SSO and admin controls, and how often you upgrade. If you buy a paid plan, its per-seat price adds a recurring line. When you ask an outside provider for a quote, ask for labor, hosting and licensing as separate lines, with one-time and recurring costs marked.

Can one engineer run Docmost on Docker alone?

One engineer who is comfortable with Docker, a reverse proxy and PostgreSQL can stand up the documented path, but the ongoing work then sits with one person. The compose template runs Docmost with PostgreSQL 18 and Redis 8 images, so someone must patch and monitor the containers, the database and the cache. The APP_SECRET value must be at least 32 characters and kept in a secure store. Files stay on local disk by default, so decide early whether to move them to S3-compatible or Azure Blob storage. WebSockets must be enabled on any reverse proxy because the real-time editor depends on them. Test restores from your own backups before you rely on them, and plan cover for leave and incidents. Read the installation documentation before you begin.

What does Kubernetes add to a Docmost deployment?

Kubernetes adds a cluster your team must run before Docmost runs on it, including ingress, persistent volumes, secrets, scheduling and cluster upgrades. It makes sense when your organization already operates clusters and has people who manage them. It does not, by itself, give high availability, because that depends on how many replicas you run and where the database, cache and files live. Two things need checking first. Local file storage is the default, so multiple replicas need shared storage or S3-compatible or Azure Blob storage. Redis and PostgreSQL must be reachable from every replica. Check the installation documentation for any official Kubernetes manifest or chart before you plan around one, and confirm who will own cluster upgrades and certificate renewal. The extra layer pays off mainly when your organization already runs clusters for other services.

Do paid Docmost plans change the deployment model?

No. Paid plans change which features you get and leave the deployment model as it is. The Business plan is $6 per seat per month billed annually with a 10-seat minimum, a licensing price that does not depend on whether you run Docker, Kubernetes or virtual machines. The documentation lists these as paid-edition features: SSO with SAML 2.0 or OIDC, LDAP, MFA, page-level permissions, the REST API with personal keys, and the Confluence, DOCX and PDF importers. The pricing page places SCIM, audit logs and SIEM integration in the custom-priced Enterprise plan, so check which tier you need. Code in the ee directories falls under the Docmost Enterprise license, so read those terms before you modify it. Ask Docmost whether any paid feature needs an extra service, since that changes the infrastructure you plan. Compare the pricing page with your seat count.

What skills does a team need to self-host Docmost?

Running Docmost yourself needs container operations, PostgreSQL administration, reverse proxy configuration, backup and restore skills, and an upgrade routine. The team needs the following:

  • Container operations: running the compose stack, reading logs and handling image updates for Docmost, PostgreSQL 18 and Redis 8.
  • Database and backup work: PostgreSQL backups, restore tests, and backups of local files or object storage.
  • Web and identity configuration: a reverse proxy with WebSockets enabled, TLS, and SAML, OIDC or LDAP settings if you use them.
  • Secrets handling: keeping the APP_SECRET value out of source control and recording where it is stored in your runbook.

Upgrades need a routine too. Docmost tagged v0.96.0 on September 8, 2026, so watch the release tags and test each upgrade in staging before production.

How does a virtual machine change the work?

A virtual machine adds operating system ownership to the work, because your team patches the guest OS, the Docker engine and the network rules as well as Docmost. If you run the documented Docker path on a VM, the application layer stays the same, but the host becomes one more system to back up, monitor and harden. A VM suits a team that already manages hypervisors and has standard images and patch routines, since those controls carry over. A team without them will carry more of the load, because the VM becomes a single host that someone must recover after a failure. Snapshots and VM-level backups can help with recovery, but confirm with your hypervisor vendor how they handle a running PostgreSQL database before you rely on them. Ask whether your standard VM build already includes Docker, a reverse proxy and monitoring agents, so you do not build them twice.

When should you bring in an implementation partner for Docmost?

Bring in a partner when the work outpaces your in-house skills, on-call coverage or security review timeline, and keep the work in-house when those already exist. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, so a quote follows from the written scope. Ongoing support, upgrades and continuous testing are available as retainers. DeployOpen prepares systems and evidence for compliance assessments, but independent auditors and certification bodies issue the reports and certifications. Ask any partner, including DeployOpen, for a written scope that names who owns backups, upgrades and on-call response after handover.

How DeployOpen scopes and runs a Docmost deployment

DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted platforms inside your own cloud accounts, data centers or air-gapped networks. For Docmost, the first step is agreeing on which of the three runtime models fits your team, then writing down the scope before any work starts.

How we scope

  • The written scope names the Docmost version, the target runtime (Docker, Kubernetes or VMs) and the hosting environment.
  • It lists sizing inputs to confirm, such as user count, storage growth, attachment volume and expected concurrent editors.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing first, and ongoing support available as a retainer.

How we build

  • Docker path: the compose template uses PostgreSQL 18 and Redis 8, with APP_SECRET of at least 32 characters.
  • Files stay local by default, with S3-compatible or Azure Blob as options, and WebSockets enabled on the proxy.
  • Kubernetes and VM paths: confirm with Docmost which manifests or packages apply to your chosen version.

How we hand over

  • Documentation covering the chosen runtime, configuration, secrets handling, backup and restore steps and upgrade procedure.
  • Backup setup for the database and file storage, documented so your team can run and verify restores.
  • Handover to your platform or IT team, with the security and compliance evidence your reviewers asked for in the scope.

How we support

  • Ongoing support, upgrades and continuous testing can run as a retainer after handover.
  • Upgrade steps are documented per Docmost release, so your team knows what changes before each rollout.
  • Security testing of the running deployment can be added on a retainer, including retests after fixes are applied.

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.