Saleor on Docker vs Kubernetes vs VMs

Saleor's documented self-hosted path is Docker Compose, which asks for at least 5 GB of memory. Kubernetes and VMs are ways to run the same components yourself, and each one moves upgrade, backup and high availability work to a different team.

On this page

Which Saleor deployment options fit your team

The documented self-hosted path for Saleor is Docker Compose, which asks for at least 5 GB of memory for Docker, so that is the baseline every other host model is measured against. Kubernetes and virtual machines are other ways to run the same components: the API, the Dashboard, PostgreSQL, Valkey or Redis, and Celery workers. Confirm with Saleor which Kubernetes and VM layouts it supports before you design around either one. A team with limited platform engineering capacity and one host to work with will usually find Docker Compose the shortest route to a working stack, but it then owns host hardening, backups and any scaling design itself.

Choose Docker Compose when one platform team runs a single environment, can size one host with headroom, and accepts that scaling individual components will be a manual design task it owns. Choose Kubernetes when your organization already operates clusters, has GitOps and monitoring in place, and wants per-component scaling and rollout controls for the API and the Celery workers, knowing the cluster becomes another layer to patch. Virtual machines are mostly the host layer under either option, so the practical question is who patches the operating system, takes disk snapshots and sizes the hypervisor. If none of those teams can carry the operating load, a managed option such as Saleor Cloud moves that work to the vendor, and the sibling comparison Saleor Cloud vs self-hosted Saleor sets out those trade-offs.

The choice mainly changes which team patches, backs up and scales each layer, so build that ownership map before you pick a model. List the API, the Dashboard, PostgreSQL, Valkey or Redis, the Celery workers and the host beneath them, then name an owner for operating system and runtime patches, database backups and restore tests, and scaling decisions for each. Ask Saleor to confirm how upgrades reach the API and Dashboard together, which environment variables each layer needs under its 12-factor configuration model, and whether the Celery workers can be scaled independently in the layout you choose. Put those answers into the written scope of any implementation partner so every layer has a named owner before work starts.

Docker Compose on VMs vs Kubernetes, factor by factor

This table compares running Saleor on Docker Compose across virtual machines with running it on Kubernetes, one factor per row. Docker Compose on VMs suits a team with Linux operations skills and no existing cluster, while Kubernetes suits a team that already runs and staffs clusters. Cells marked with a note depend on Kubernetes manifests or HA guidance, so confirm them with Saleor's documentation before you commit.

FactorDocker Compose on VMsKubernetes
Sizing starting pointCompose setup asks for at least 5 GB of memory. Platform team sizes each VM for the API, Dashboard, PostgreSQL, Valkey or Redis and Celery.Platform team writes requests and limits in manifests per workload. Confirm the starting point with Saleor's documentation before committing.
High availabilityOne host runs the stack unless ops adds a second VM, load balancing and database failover. Confirm HA guidance in Saleor's documentation before committing.Replicas, probes and scheduling live in manifests the platform team owns. Confirm HA guidance in Saleor's documentation before committing.
Upgrade pathPull the new release, run migrations and restart services in a window the ops team schedules. Ops owns rollback.Rolling updates depend on manifest and migration job design. Platform team owns rollout. Confirm upgrade order in Saleor's documentation before committing.
Backup scopePostgreSQL, uploaded media and environment settings on each host. Ops team owns backups and a tested restore.PostgreSQL, persistent volumes, secrets and manifests in Git. Platform team owns restores. Confirm stateful components with Saleor's documentation.
MonitoringHost metrics, container logs and API health checks. Ops team wires alerts and log shipping.Pod, node and Celery queue metrics. Platform team owns the monitoring stack and alert rules.
Operating skillsLinux administration, Docker operations and PostgreSQL care. Ops team patches each VM on its own schedule.Kubernetes administration and manifest review. Platform team owns the cluster. Confirm manifests with Saleor's documentation.
Cost driversVM count, memory, storage and ops hours for patching and restores. Mostly recurring: hosting plus staff time.Cluster hosting, node capacity and platform engineering time, mostly recurring. Quote should name who writes manifests. Confirm manifest effort with Saleor's documentation.

How Saleor deployment options share the same core components

Docker Compose, Kubernetes and virtual machines all run the same runtime pieces: the GraphQL API, the Dashboard, PostgreSQL, Valkey or Redis and Celery workers. Each piece reads its settings from environment variables, so the platform choice mainly changes how each piece is packaged, scaled, restarted and backed up.

GraphQL API

The API is the single entry point for storefronts, the Dashboard and apps, and it is where Saleor's commerce logic runs. On Docker Compose it is one service you can size and restart on its own, and the Compose setup asks for at least 5 GB of memory for Docker. On Kubernetes it becomes a Deployment that you can scale out, provided every replica points at the same database, cache and settings. On virtual machines it is a Python process behind a reverse proxy that you manage yourself. Confirm with Saleor which process model it recommends for your release and whether several API replicas need extra configuration.

Docker Compose docs

Dashboard for store staff

The Dashboard is the staff interface for catalog, orders, channels and configuration, and it calls the same GraphQL API that customers and apps use. Confirm how Saleor packages it for your release: as its own container, as a static build served by a web server, or both. On Docker Compose it is one more service to expose. On Kubernetes it needs its own Service and ingress rule, and you should confirm whether its API address is set at build time or at run time. On virtual machines it needs a web server and the correct API URL. Treat it as a privileged admin surface and restrict access the same way you would any back office tool.

Saleor releases

PostgreSQL holds the store data

PostgreSQL is the system of record for products, orders, customers and configuration, so it is the component you can least afford to rebuild. On Docker Compose the database often runs as a container with a volume, which is common for evaluation, so confirm with Saleor whether that setup is supported for production storage. On Kubernetes, choose between a managed database service, a database operator, or a stateful set that you back up yourself. On virtual machines, a native package gives you direct control over backups and point-in-time recovery. Ask Saleor for the supported PostgreSQL versions for your release before you size anything.

Valkey or Redis cache

Saleor uses Valkey or Redis alongside the API and the workers. Confirm with Saleor which of the two your release expects, which versions it supports, and what it stores there, because that determines whether losing the data is harmless or disruptive. On Docker Compose it is a small container with little to design. On Kubernetes, the decision is a managed service or an in-cluster deployment with its own memory limits. On virtual machines it is a separate service that must start before the API and workers. Keep it on a private network, since nothing outside the platform needs to reach it.

Celery workers run background jobs

Celery workers execute the background tasks the API queues, so a stalled worker can look like a silent failure. Confirm with Saleor which task queues exist in your release and how many worker processes it expects. On Docker Compose, workers run as a separate service that you can scale and read logs from on their own. On Kubernetes, run them as a separate Deployment with its own resource limits, so their load does not compete with the API pods. On virtual machines, one process manager unit per worker type makes restarts and log review simpler. Monitor queue depth and failed tasks from the first day of operation.

Twelve-factor environment configuration

Saleor reads its configuration from environment variables that follow 12-factor app principles, so one release can run in several environments with different settings. Confirm with Saleor the full list of required variables for your release, including secret keys and database connection strings, and which values must match across the API and the workers. On Docker Compose these usually live in an env file, which needs tight file permissions. On Kubernetes, ConfigMaps hold settings and Secrets hold credentials, ideally sourced from your secret manager. On virtual machines, a root-owned environment file read by each service keeps the keys in one place. Document every variable in your change control, since a missing one can stop a service at startup.

How the Saleor components connect inside your network

The diagram starts outside your boundary, with storefronts, administrators and external apps or payment gateways. Storefronts and the Dashboard reach the GraphQL API over HTTPS, and external apps and payment gateways exchange HTTPS calls and webhooks with the API. Inside the boundary, the API stores data in PostgreSQL and uses Valkey or Redis, while Celery workers process background jobs against both. Confirm that every link inside the boundary stays on networks you control, and that the webhook endpoints you register are reachable only where you intend. The diagram is orchestrator-neutral: the same components and hand-offs apply whether you run them under Docker, Kubernetes or on virtual machines.

Trust boundary around the Saleor components you run, with external callers outside.

What sizing Saleor starts from on Docker Compose

The Docker Compose setup asks for at least 5 GB of memory for Docker, and that figure is a floor for bringing the stack up, not a production size. The stack runs the API, the Dashboard, PostgreSQL, Valkey or Redis, and Celery workers, so a single host running all of them will use most of that memory before any real traffic arrives. Treat the number as the minimum for a test environment where the containers start and answer requests. Production sizing depends on catalog size, order volume, how many Celery worker processes run in parallel, and the traffic peaks your store sees during promotions or seasonal sales. None of these can be read from the setup documentation. You have to measure them in your own environment against your own data volumes and promotion calendar.

The sizing question changes with the deployment model. On Kubernetes, the Compose memory floor becomes node capacity: you size the node pool so the API, Dashboard, Celery workers and PostgreSQL pods fit with headroom for scheduling, rolling updates and restarts. Each workload also needs resource requests and limits in its manifests or Helm values, so the scheduler places pods correctly and a runaway Celery worker cannot starve the API. Those values should come from your load test results. On virtual machines, memory and CPU are fixed per host, so the decision is whether each role gets its own VM or several roles share one, and that choice sets how much contention you accept at peak. Adding capacity usually means a larger host or another host, which has to be planned ahead of a sales event.

Before choosing a model, run the same load tests against each candidate sizing and record memory use per container, PostgreSQL connection counts, Celery queue depth during a simulated promotion, and API latency at your expected peak. Confirm with the Saleor Docker Compose setup which environment variables control worker concurrency and database connections, since those are the settings you will tune first. Ask your platform team to keep the results with the architecture record, so that a later upgrade or traffic change starts from measured figures and the 5 GB floor stays what it was meant to be: a starting point.

Which Saleor deployment options fit which team

This option fits a small team with one platform engineer, a single environment and no Kubernetes cluster to reuse. The Saleor Docker Compose documentation describes the stack: the API, the Dashboard, PostgreSQL, Valkey or Redis and Celery workers, configured through environment variables. The engineer needs Docker and Linux administration, PostgreSQL backup and restore, reverse proxy and TLS setup, and enough Python or Django knowledge to read application logs and run migrations during upgrades. The team takes on the host, the containers, the database and every Saleor upgrade.

  • Host sizing: the Compose setup asks for at least 5 GB of memory for Docker. That figure is a minimum for the stack, so size the host for your own catalog, order volume and worker load.
  • Configuration: settings arrive as environment variables. Keep secrets in a secrets store and version the non-secret configuration with the deployment code.
  • Backups: the team owns PostgreSQL dumps or snapshots, off-host copies and a restore test that someone runs on a schedule.
  • Upgrades: one person plans each Saleor release, runs migrations in staging and schedules the production change.

This option is the wrong choice when that one engineer is also the only person who can respond to incidents, or when the business needs failover that a single host cannot provide. Confirm with Saleor which Compose configuration it supports for production before you adapt the development setup.

How a Saleor upgrade runs on any of the three models

The sequence moves a Saleor release from published release notes to a verified production stack, with a restore point taken before any change. The steps are identical on Docker, Kubernetes and virtual machines. What changes is who performs each step and how many environments the change must pass through first.

  1. Read the release notes for the target version

    Start with the release notes for the exact target version, for example Saleor 3.23.42, released October 16, 2026. Check the Saleor GitHub releases page for database migration notes, changed environment variables, and any dependency changes affecting PostgreSQL, Valkey or Redis, and Celery. The platform owner, usually your in-house platform team or your implementation partner, turns these into a list of changes that affect your deployment. The step is done when that list is agreed and each item has a named owner. If a change touches your custom apps or webhooks, flag it now.

  2. Back up PostgreSQL and media before any change

    Take a full PostgreSQL backup and a copy of the media storage before anything is modified. Record the image tags or versions currently running on the API, Dashboard and Celery workers so you can return to them. The backup method depends on the model, so confirm whether your Docker volumes, Kubernetes persistent volumes and managed database snapshots, or your VM database dumps and file copies, cover your recovery needs. Run a test restore on a separate host. The step is done when the restore completes and you have a recorded point to roll back to.

  3. Test the upgrade on a staging copy

    Build a staging stack that matches production in version, configuration and data shape, then apply the target release there first. Run the upgrade with the same runbook you will use in production, bringing up the API, Dashboard, PostgreSQL, Valkey or Redis and Celery workers. Ask whether staging data can be a restored copy with personal data masked, since your data protection obligations apply here too. The step is done when the upgrade completes without errors and your test checklist passes against the staging copy.

  4. Roll out to production in a defined order

    Confirm the production sequence against the release notes before the change window, including where database migrations run. Then update the API, Dashboard and Celery workers in that order, checking each service before the next one starts. On Kubernetes, rolling updates and health checks control the pace of this work. On Docker Compose and virtual machines, your team stops, updates and restarts each service directly. Keep the rollback steps ready at every stage. The step is done when every service reports the target version and its health checks pass.

  5. Verify orders, payments and webhooks before closing

    Before you close the change, test the flows that carry revenue: place a test order, run a payment through each configured gateway, process a return, and confirm that webhook deliveries reach your apps and downstream systems. Check that Celery workers are processing tasks and that no task failures appear in the logs. Record the results and sign-off in the change record. The step is done when these checks pass and the platform owner marks the change as closed. Keep the rollback plan in place until the checks are complete.

What high availability needs beyond a single Docker host

A single Docker Compose host runs the API, the Dashboard, PostgreSQL, Valkey or Redis and the Celery workers on one machine, so a host failure takes the storefront and the admin down together. High availability removes that shared point of failure at each layer. Run more than one API instance behind a load balancer, and size worker capacity separately so that asynchronous jobs keep moving when one container restarts. The database and cache need their own plans: PostgreSQL with replication and a tested failover procedure, or a managed PostgreSQL service with automatic failover, and a Valkey or Redis deployment with its own replication or managed failover. Each choice moves operating work to a different team, so decide who owns failover before you pick the platform.

Before you design the replicated layout, confirm with Saleor's documentation how the API and workers behave when they run as multiple instances. Check whether any periodic or scheduled task runs in only one worker process, which environment variables must be identical across replicas, and whether uploaded media or static files need shared storage that every API instance can reach. Also confirm how the Dashboard is served and whether it needs its own instance behind the same load balancer. The Saleor Docker Compose setup guide is the starting point, because it describes the services and the environment-variable configuration that a multi-host layout has to reproduce.

Test the design before go-live. Stop one API container and one worker during a load test, then confirm that checkout and admin edits still complete. Run a database and cache failover in a staging copy and measure failover before go-live, recording how long the API takes to reconnect instead of assuming it recovers. Confirm that backups cover both the database and any media storage, because replication guards against host loss while a bad deletion copies to every replica. Ask your internal team or DeployOpen to write the failover runbook, and ask any quote to name which of these layers it covers and who performs each test.

What does running Saleor deployment options cost and require?

What drives the cost of running Saleor on Docker, Kubernetes or VMs?

Infrastructure is only one line in the cost of any model, and the mix of costs shifts with the platform you choose. Saleor needs the API, the Dashboard, PostgreSQL, Valkey or Redis and Celery workers, so every model pays for compute, memory, storage and backups for those components. The Docker Compose setup asks for at least 5 GB of memory for Docker, according to the Saleor Docker Compose docs, but that figure is a starting point for evaluation and says nothing about production load. Kubernetes adds cluster control plane, ingress and monitoring costs, plus staff time to operate them. VMs move more patching, scaling and recovery work onto your own team. Ask any provider for a written quote that lists infrastructure, staff time, monitoring, backup and outside services as separate lines, with one-time setup kept apart from recurring operations.

Can an in-house team run self-hosted Saleor without a consultant?

Yes, an in-house team can run self-hosted Saleor without a consultant if it already operates PostgreSQL, container platforms and Python services and has the time to own upgrades. Saleor is BSD-3-Clause licensed, so using the code does not carry a license fee under that license, according to the Saleor GitHub repository. The effort sits in the surrounding work: setting environment variables that follow 12-factor app principles, operating Celery workers and a Valkey or Redis service, running backups and restore tests, and tracking releases such as 3.23.42, which was released on October 16, 2026, according to the Saleor GitHub releases page. Outside help tends to matter most when the team is small, when payment or tax integrations need design work, or when audit evidence is due on a short timeline. Confirm skills and on-call capacity with your own engineers before deciding.

How long does a Saleor deployment take and what sets the timeline?

Duration depends on scope, environment and your team's availability, so ask for a specific plan in writing rather than relying on a general estimate. The main drivers are the number of environments, whether you run the Docker Compose setup or a Kubernetes cluster, how many integrations you build (payments, shipping, ERP, tax), whether existing catalog and order data must be migrated, and how long your security review and change approval cycles take. Infrastructure approvals and cloud account setup can take longer than the installation itself in many organizations, so confirm your own lead times early. A useful quote separates the milestones for environments, integrations, testing, cutover and handover, and names the dependencies on your team's approvals. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so request that document as part of any quote.

What does a self-hosted Saleor deployment need from our own staff?

Your staff must own access, identity, networking, data and business decisions, even when an outside team does the build. On the infrastructure side, expect to provide cloud or data center accounts, network paths to PostgreSQL and the cache service, DNS and TLS certificates, a secrets store and backup targets. On the identity side, confirm how administrators will sign in to the Dashboard and how access to the API is controlled. On the business side, product and operations owners must decide how channels, currencies, warehouses and promotion rules are configured, since Saleor supports per-channel pricing and multi-warehouse stock according to the Saleor GitHub repository. Staff also approve upgrade windows and review logs after go-live. Ask the provider which tasks they will perform, which your team will perform, and how on-call responsibility transfers at the end of the engagement.

Is Docker Compose enough to run Saleor in production?

Docker Compose can run a production-style Saleor stack for a small deployment, but it runs on a single host that you must harden, monitor and back up yourself. The Saleor Docker Compose docs describe the services involved, including the API, Dashboard, PostgreSQL, Valkey or Redis and Celery workers, and those same services and environment variables carry over to a production host. What Compose does not provide by default is host failover, rolling upgrades across several machines or automatic recovery after a node is lost. Before accepting it for production, confirm host sizing against your expected load, backup and restore tests, TLS termination, secret handling, log retention and a documented upgrade path. Ask the provider to show a restore they have tested on the same setup, and to walk through the rollback steps for a failed upgrade.

When is it worth moving Saleor from Docker to Kubernetes?

Moving to Kubernetes is worth considering when a single host no longer meets your availability or deployment needs and your organization already runs Kubernetes well. Typical triggers include several environments that must share one deployment process, a requirement for automatic restarts and rolling upgrades across nodes, or platform policies for networking, secrets and monitoring that your platform team already enforces. Kubernetes adds cluster upkeep, a higher skills requirement and more components to monitor, so the move costs staff time even when the application code does not change. Treat the move as a separate project with its own scope and quote. Ask whether your existing environment variables, database connections and volumes carry over unchanged, and what the rollback looks like if the cluster behaves badly during cutover.

How DeployOpen scopes and runs a Saleor deployment

DeployOpen plans and implements self-hosted Saleor inside your own cloud accounts, data centers or air-gapped networks, so the choice of Docker, Kubernetes or virtual machines can be made against your team's operating model. We start from the workload and your controls, then document the deployment so your platform and security teams can run it after handover.

How we scope

  • The written scope names the Saleor components in use: API, Dashboard, PostgreSQL, Valkey or Redis, and Celery workers.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The scope records the target platform, Docker Compose, Kubernetes or virtual machines, and who operates each layer afterward.

How we build

  • Configuration is set through environment variables, following the 12-factor approach Saleor documents for its Docker setup.
  • Sizing starts from the 5 GB memory minimum in Saleor's Docker Compose docs, then adds headroom for your traffic.
  • Integrations use Saleor's webhooks, apps and metadata, so custom logic stays outside the core codebase.

How we hand over

  • The written scope can include deployment configuration, an upgrade and backup runbook, and access control documentation.
  • Backup and restore procedures for PostgreSQL and media storage are documented and, where scoped, tested before handover.
  • Knowledge transfer covers which layers your team runs, so ownership is clear in Docker, Kubernetes or VM operations.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning starts from Saleor's published GitHub releases, which show each version and its date.
  • Ask for named responsibilities on security patches, backup monitoring and incident response before signing.

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.