When Docker Compose is the right way to run Zammad in production
Docker Compose suits a team that is already comfortable operating containers and wants Zammad run as a set of services it can inspect, restart and back up with standard container tooling. The zammad-docker-compose stack, as described in the Zammad Docker Compose installation guide, bundles the Zammad application services together with PostgreSQL, Redis and Memcached, and it can add Elasticsearch as an optional service for search. That bundle is convenient for a trial, but it means the team owns the container host, the volumes, the image update routine and the handling of every service in the file, not only the helpdesk itself.
A trial configuration and a production configuration differ mainly in what the team decides rather than what it runs. In a trial, the default settings are usually acceptable. In production, the team must size memory for every container, set the kernel parameter vm.max_map_count on the host when Elasticsearch is included, choose the scenario file and .env values deliberately, and decide where data lives and how it is backed up. The team should also confirm which of the bundled services it will keep, such as whether it will point Zammad at an external database or put a reverse proxy in front of the stack, because each choice changes the support and operations work.
Before committing, the team should answer three questions in writing: who will patch the host and images on a fixed schedule, who will restore from the nightly backup service and test that restore, and who will be called when a container fails. Support for container problems follows its own boundary, so the team should confirm with Zammad exactly what its support covers for a Compose installation and what falls to the operator's own platform skills. If the answers point to a team without container operations experience, a package installation or a partner-run deployment may match the workload better.
Docker Compose options and when each fits
This table compares the main choices a team makes when taking the Zammad Docker Compose stack to production: bundled or external database and cache, Elasticsearch placement, the built-in backup service or an external tool, and the bundled proxy or your own. Read each row for when the option fits, what it asks of your operators, and what to confirm before you commit.
| Decision | When it fits | Operator cost to run | Confirm before choosing |
|---|---|---|---|
| Bundled PostgreSQL and Redis containers | Pilots and small single-host installs where one team owns the whole stack | Your team patches, backs up and monitors the database and cache containers alongside Zammad | Container volume location, backup coverage and who handles database upgrades |
| External PostgreSQL and Redis services | Organizations with an existing managed or central database platform and dedicated database operators | Connection configuration, network paths, TLS and credential rotation move to your database owners | PostgreSQL 15 or newer, Redis 7 or newer, connection pooling mode and support terms from the database provider |
| Elasticsearch inside the Compose stack | Teams that want search, reporting and attachment content search on the same host with minimal extra hosts | Shared host memory and disk with Zammad, plus index rebuilds and version pinning in your change process | Host RAM headroom, the vm.max_map_count setting and whether the search index needs its own monitoring |
| Elasticsearch on a separate host or service | Larger instances, or teams whose search cluster is already run by a platform group | Separate cluster sizing, access control, certificates and patching owned by the search team | Network reachability from Zammad, cluster version compatibility and index ownership |
| Built-in nightly backup service | Teams that want a documented starting backup of database and files with little added tooling | Backup volume capacity, restore testing and off-host copies remain your responsibility | Backup retention needs, storage location, whether copies leave the host and who runs a restore test |
| External backup tool (snapshots or enterprise backup) | Organizations with a standard backup platform, legal hold needs or cross-site copies | Integration, consistent database and volume snapshots, and restore runbooks you maintain | Application-consistent snapshot method for PostgreSQL and attachment storage, recovery time expectations and ownership of restore drills |
| Bundled reverse proxy container | Quick trials or single-host installs without an existing edge proxy | Certificate handling, HTTP settings and client IP forwarding must be maintained inside the stack | Certificate source, trusted proxy settings for client IPs and whether your security team accepts the container's configuration |
| Your own reverse proxy in front of the stack | Organizations with a standard edge (load balancer, WAF or central Nginx or Apache) and existing certificate processes | Websocket proxying, forwarded headers and TLS configuration owned by your network team | Websocket support on your proxy, forwarded header handling, and the FQDN and HTTP type settings Zammad expects |
Setup sequence from trial stack to production stack
This sequence turns the trial Zammad Docker Compose stack into a production stack that the operator can rebuild, restore and verify. Each step ends with a check that confirms the change worked before the next one starts. The operator should run it on a staging copy first, then repeat it on the production host.
Prepare the host and kernel setting
The operator who owns the Docker host sets the kernel parameter
vm.max_map_countto the value the Zammad documentation gives for the Elasticsearch requirement, then persists it in a file under/etc/sysctl.d/so it survives reboots. Confirm the exact value in the current Zammad Docker Compose page before applying it. The step is done whensysctl vm.max_map_countreturns that value on the host after a reboot, and when Docker itself is running with the version the operator intends to support.Choose the scenario file
The operator selects the Compose scenario file that matches the intended design, such as whether Elasticsearch and Memcached run in the same project or are supplied elsewhere. The choice should follow the scenario definitions in the Zammad documentation, not the trial habit. Record the chosen file in change control so the next upgrade uses the same base. The step is done when
docker compose configrenders the full service list without errors and every service the design needs appears in the output.Populate .env with secrets and the public FQDN
The operator copies the example environment file to
.envand replaces every default password and placeholder with generated secrets stored in the organization's secret manager. The public fully qualified domain name is set to the address users will type, because links, websocket origins and email notifications depend on it. Keep.envout of version control and restrict its file permissions. The step is done when a search of the file finds no placeholder text, anddocker compose configshows the intended FQDN in the rendered application settings.Configure and test the nightly backup service
The operator enables the built-in nightly backup service, sets the backup destination to storage outside the container host, and confirms the retention approach with the team that owns recovery. The backup should cover the database and the attachment data the stack stores locally. A backup that has never been restored is not evidence, so restore the most recent archive into a separate project on a separate host. The step is done when the restored instance opens, existing tickets and attachments are readable, and the restore steps are written into the runbook.
Decide on external database or reverse proxy
The operator decides whether PostgreSQL, Redis or the web entry point stays inside the stack or moves to services the organization already runs. An external PostgreSQL server must be version 15 or newer and Redis must be version 7 or newer, which the Zammad software requirements specify. A reverse proxy must handle TLS and websocket upgrades, and it must pass the client address so rate limits work. Confirm the design with the database and network owners before changing the environment file. The step is done when the chosen endpoints are reachable from the application container and the proxy configuration is saved in version control.
Verify health checks and websocket connectivity
The operator starts the full stack, then checks that every container reports a healthy state and that the application responds over the public FQDN with a valid certificate. In a browser, the operator opens two agent sessions and confirms that the developer tools show an established websocket connection. A ticket updated in one session should appear in the other without a manual refresh. The step is done when both sessions update in real time and the logs show no repeated connection errors from the websocket or Redis services.
Verify search indexing and attachment handling
The operator creates a test ticket with a plain text attachment and a document attachment, then searches for words that appear in the ticket body and inside the document. This confirms that the search index receives new content and that attachment text is searchable where the chosen design supports it. Check the Zammad documentation for the index rebuild procedure and keep it in the runbook for later use. The step is done when both test tickets return in search results and the attachment file opens from the ticket without error.
How RAM, vm.max_map_count and Elasticsearch affect the Compose host
Host memory is the first constraint to confirm before you tune anything else in a Compose stack. The Zammad application, PostgreSQL, Redis, Memcached and Elasticsearch all share the same host in a single-host Compose deployment, so the memory each container needs adds up quickly. Start by checking the current minimum RAM and CPU figures in the Zammad Docker Compose installation guide and the software requirements, then size the host for your agent count and ticket volume rather than for the minimum. Also confirm the vm.max_map_count kernel setting that the Elasticsearch container requires on the Docker host, because Elasticsearch will not start with a value below the documented threshold. Set it persistently on the host, not only for the current session, so it survives a reboot.
Elasticsearch is optional, but strongly recommended for production. Zammad uses it for faster search, for reporting features and for searching the content of email attachments. Without it, search falls back to slower database queries, and attachment content is not searchable. In the Compose stack, that means deciding whether the Elasticsearch service runs on the same host or on a separate one, and whether its data volume has enough disk to grow with your ticket history. Decide this early, because moving the search index later changes the host layout and requires a rebuild of the index.
Memcached matters once you run more than one Zammad application instance, which is common when you scale containers. Single installations can use the file system cache, but multiple instances need a shared cache so that they see consistent session and cache data. Check the Memcached requirement in the software requirements page for your version, and confirm that the Compose file includes the cache service and that every application container points to it. Test a restart of one application container while a user session is active, so you know the cache behaves as expected before users depend on it.
Security and operational risks of a containerized Zammad
A Docker Compose Zammad stack puts secrets, published ports, backups and the host itself in one place. The cards below cover the risks that matter most for a production stack, each with the control that addresses it. Check each one against your own environment before the stack holds live customer data.
Secrets stored in .env
The .env file and scenario files hold database credentials, the Rails secret and any integration tokens in plain text on the Docker host. Anyone who can read the file can read the data store. Restrict the file to the service account that runs Compose, keep it out of version control, and rotate credentials when people with host access change. Confirm which values the stack reads from the file and which you can move to a secrets manager.
Exposed container ports
Compose files that publish container ports on all host interfaces can expose the application, database or Redis directly, bypassing the reverse proxy and its TLS and trusted proxy settings. Bind published ports to localhost or a private interface and let only the proxy reach the Zammad web container. Then verify from outside the network which ports answer, after every change to the Compose file.
Backup file protection
Backups contain ticket content, customer data and attachments, so a backup file is as sensitive as the live database. Store backup archives with restricted file permissions, encrypt them at rest, and make sure copies sent off the host are encrypted in transit. Document who can read the backup volume, because container volumes are often readable by anyone with Docker access.
Restore testing
A nightly backup that has never been restored is an assumption, not a recovery plan. Schedule restore tests into a separate environment, time how long a full restore takes, and confirm that attachments and search data come back with the database. Record the results so the team knows what recovery will actually look like before an incident forces the question.
Nightly backup storage location
The built-in nightly backup service writes to a location on the same host by default, so a disk failure, ransomware or a compromised host can take the live data and its backups together. Confirm the configured backup path, then copy backups to storage that the Docker host cannot delete or overwrite. Ask the team which copy the restore plan uses first and where that copy lives.
Patching both release lines
Zammad published security releases for both the 6.5 and 7.x lines in the same period, so an installation on either line needs its own patch watch. Track the Zammad releases page, check which line each deployed image belongs to, and schedule updates for the Compose stack and its images together. Confirm that your image tags pin the version you tested rather than a floating tag.
Zammad releasesAccess to the Docker host
Anyone who can run Docker commands on the host can read container environment variables, mount volumes and start privileged containers, which makes host access equivalent to full control of the helpdesk. Limit host logins to named administrators, use SSH keys with individual accounts, and restrict membership of the Docker group. Review that list each time staff change roles.
Where Zammad support ends for container problems
Does Zammad support cover problems with the Docker host?
No. Zammad support covers the Zammad application itself, while the host operating system, the Docker engine, the network and any orchestration layer remain with the operator or with a partner you engage. When a container fails because the host ran out of disk, lost its kernel settings or blocked a port, the fix sits outside the application. Before you go live, write down who owns each layer: the Linux host, Docker, the Compose file, the reverse proxy, the database and the backups. Ownership gaps are where incidents stall, because each party can reasonably say the problem belongs to someone else.
Does the Kubernetes boundary also apply to Docker Compose?
The Zammad Kubernetes documentation states the boundary explicitly: support covers only the Zammad application, not Kubernetes-specific issues. The Docker Compose path is documented separately, so do not assume its support terms match the Kubernetes wording. Ask Zammad in writing which Docker Compose problems fall under your subscription, and whether host-level or container-runtime troubleshooting is included. Treat the Kubernetes text as a signal of how the vendor draws the line, not as a confirmed statement about Compose.
What support tiers and response times does Zammad offer for self-hosted installs?
Zammad sells self-hosted support subscriptions in three tiers, with annual prices listed on its pricing page. The Business tier is listed at 2,999 EUR per year with a 6-hour response time, Enterprise at 5,999 EUR per year with a 4-hour response time, and Corporation at 9,999 EUR per year with a 2-hour response time. Self-hosted Zammad itself has no license fee, so the subscription is the recurring vendor cost you compare. Confirm on the pricing page whether each tier covers container-specific questions, and whether the response times apply to all severities.
How should the support tier affect the decision to run Compose in production?
Use the tier as one input, not the whole answer. A shorter response time helps when an outage affects every agent, but it does not replace a host runbook, a tested restore or someone who can read Docker logs at night. Compare the annual subscription cost against the internal effort to own the host, the container runtime and the proxy. If your team already runs Docker in production for other services, the gap may be small. If nobody on your team has operated containers before, the gap is larger, and a partner may cover it under a separate scope.
Which container problems should we expect to handle ourselves?
Plan to own problems that sit below or around the application:
- Host resource limits, including RAM, swap and disk growth from attachments and logs
- The
vm.max_map_countkernel setting on the host, which Elasticsearch-backed setups depend on - Docker engine upgrades, storage drivers and volume permissions
- Port publishing, firewall rules and the reverse proxy in front of the stack
- Restarts after a host reboot, and image pulls that fail behind a restricted network
Write a runbook for each item, with the command you run, the expected output and the person who acts on it.
Can DeployOpen take over the container layer for our Zammad stack?
DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure, including cloud accounts, data centers and air-gapped networks. For a Zammad Compose stack, that can cover the host build, the Compose configuration, the reverse proxy, backups and the runbooks your team uses. Scope, deliverables and timelines are agreed in writing before work starts, and most engagements are fixed-scope. Ongoing support is available as a retainer. Ask for the boundary in the written scope, so it is clear which container problems are included and which are not.
What should we confirm with Zammad before relying on Compose support?
Ask Zammad these questions in writing before go-live:
- Does our subscription cover problems that occur only inside the Docker Compose stack?
- Are host, Docker engine and network issues excluded, and what evidence do you need to triage them?
- Which logs and versions must we send with a ticket?
- How are response times measured, and do they apply to outages?
- How do security releases, such as the 7.2.x and 6.5.5 fixes published in October 2026, reach Compose users?
Keep the answers with your deployment documentation so the next on-call engineer does not have to guess.
What happens when a container problem is caused by the host?
Zammad support will usually ask you to show that the application is at fault before it works the problem. Collect the evidence first: the Zammad version, the Compose file and .env with secrets removed, the output of docker compose ps, the container logs for the affected service, and host metrics for memory, disk and kernel messages. If the evidence points to the host, the fix belongs to your operator or partner, and the support ticket should record that finding. Clear evidence shortens the cycle in both directions and protects your response time for real application faults.
Limits to confirm before go-live
A Compose stack is only as current and supportable as the versions, images and standards around it. The cards below are the questions to settle with your own team before a production cutover, since each one changes what you deploy and who answers when something breaks.
Current release and patch level
Confirm which Zammad release line you are deploying and whether it carries the latest security fixes. Zammad published security releases on both the 6.5 and 7.x lines in parallel, so a stack pinned to either line can fall behind. Check the release notes before you pin an image tag, and record the exact tag your change ticket approves so later updates follow the same path.
- Latest 7.x fix cited
- 7.2.2
PostgreSQL and Redis versions
Check that the PostgreSQL and Redis images in the Compose file meet the minimums in the software requirements. Zammad needs PostgreSQL 15 or newer and Redis 7 or newer. Do not assume a latest tag or an old image cache satisfies this. Confirm the version each container reports after the first start, not only the version written in the file.
Host memory and kernel settings
Confirm that the Docker host has enough memory for every container, including Elasticsearch if you run it, and that vm.max_map_count is set on the host and survives reboots. Ask whether your hardening baseline restricts kernel parameter changes, since that setting is often the first thing a change review questions. Verify both values on the actual host, not on the workstation used to build the stack.
External database or proxy standards
Decide whether the bundled PostgreSQL container meets your database standard or whether an external server, managed service or shared proxy is required. Your DBA and security team should confirm backup ownership, TLS, credential storage and connection pooling rules before any change. Also confirm whether your reverse proxy, certificate process and load balancer policy can accept the Compose stack's ports and headers.
Attachment storage growth
Ask who owns the storage forecast for attachments and how fast ticket volume and file sizes grow for your teams. Attachments kept in the database or a Docker volume grow inside the same backup window as ticket data, so the nightly backup and restore time must match that growth. Confirm the volume capacity alarm threshold and who gets paged before it fills.
Change control and support boundary
Confirm that your change board accepts a Compose stack as a deployable unit, including who approves image tag changes, scenario file edits and .env changes. Also agree in writing who supports container problems: your platform team, your partner or Zammad. Zammad's support scope for container deployments is defined separately from the application itself, so record which party owns each failure class.
Questions buyers ask about running Zammad on Docker Compose
Can our own team run Zammad on Docker Compose in production?
Yes, if your team already runs containers and can own the host, the backups and the upgrades. Zammad is open source and has no license fee for self-hosting, so the work is operational rather than a purchase. The Docker Compose stack bundles the application services, and the parts your team still owds are the host sizing, the reverse proxy and TLS, DNS, the backup schedule and regular restore tests. Teams without container experience usually find the restore test and the upgrade routine the hardest parts to keep consistent over time.
What drives the effort of a production Zammad Docker Compose setup?
Four factors drive most of the effort. Host sizing covers RAM, CPU and disk, including the kernel setting vm.max_map_count that the search component needs. Database choice decides whether you run the bundled PostgreSQL or connect to a separate PostgreSQL 15 or newer server. Backup testing covers whether the built-in nightly backup service runs, where its files land and whether a restore has ever been proven on a separate host. Proxy and TLS work covers certificates, websocket proxying and trusted proxy settings. Each one grows with the number of agents, channels and the size of your attachment store.
How long does a production Zammad Docker Compose deployment take?
Duration depends on scope and environment, and no fixed figure applies to every team. A single host with an existing reverse proxy, DNS and certificate process takes far less time than a deployment that needs new network paths, an external PostgreSQL server, SSO integration and a documented restore test. Ask any provider for a written schedule tied to the agreed scope, the number of channels to connect and the approval steps in your change process. Your own team should estimate its time against the same list of tasks.
What does our team need to provide for a Zammad Docker Compose rollout?
Plan to supply five things. Container skills are needed to edit the scenario files and the .env configuration, and to read container logs. DNS records must point the helpdesk hostname at the host. Certificates must be issued and renewed for that name. Backup storage must be large enough for the nightly backup files and must sit outside the host. Finally, someone must run a restore test on a separate machine and record the result. Without that last step, the backup service is only a schedule, not a recovery plan.
What does a Zammad license cost for self-hosting?
Self-hosted Zammad has no license fee. Zammad is licensed under the GNU Affero General Public License version 3, so you can run it without buying a license. Costs come from the infrastructure you provide, the staff time to operate it, and any paid support you choose to add. Check the AGPLv3 terms with your legal team if you plan to modify the code and offer it to users over a network, because that license carries source disclosure obligations.
What do the paid Zammad support tiers cost and how fast do they respond?
Zammad sells self-hosted support subscriptions on its pricing page. The Business tier costs 2,999 EUR per year with a 6 hour response time, the Enterprise tier costs 5,999 EUR per year with a 4 hour response time, and the Corporation tier costs 9,999 EUR per year with a 2 hour response time. Confirm on the pricing page whether these figures match your region and contract terms, and check what each tier covers, since support for container problems may have its own boundary. Support from Zammad is separate from any implementation or operations work you contract elsewhere.
Where does Docker support end and our own responsibility begin?
Your responsibility starts at the container runtime, the host operating system, the network and the storage you provide. Zammad documents the Docker Compose installation, and its support covers the Zammad application itself. Problems with the Docker engine, the host kernel, DNS or the network path sit with your platform team or a partner that you contract for that work. Ask any support provider to write down which layers they cover before you go live, so an incident does not stall while two parties argue over ownership.
Where the trust boundary sits between the host and outside users
The diagram starts with external users reaching the reverse proxy, which terminates TLS on the host and is the only component facing the network. Requests then pass to the Zammad application containers, which read and write PostgreSQL and use Redis for realtime websocket traffic and Memcached for shared cache across instances. Elasticsearch is optional and shown as a separate branch, and the backup service writes to its own storage. Check that only the proxy port is published, that data stores stay on the internal network, and that the backup storage sits outside the containers' writable paths.
Request path, data stores and backup flow across the host trust boundary.
When to move the database or proxy out of the stack
Move PostgreSQL or Redis out of the Compose file when a team already runs those services under its own backup, patching and access controls, or when the database must sit on a separate network segment. Zammad stores its content in PostgreSQL 15 or newer and requires Redis 7 or newer for realtime websocket communication, so both are hard dependencies either way. Keeping them inside the stack is simpler to start with, but the operator then owns the container volumes, the database backup schedule and any high availability design, which the bundled nightly backup service does not replace. Confirm with your database team whether they will take over these duties before you change the .env values that point Zammad at the external hosts.
Putting an existing enterprise reverse proxy in front of Zammad is the other common change. The Compose stack exposes the application through its own proxy container, so the enterprise proxy must forward to that port, pass websocket upgrades, and set the forwarded headers that Zammad reads for client addresses. Certificates, WAF rules, rate limits and access logs then belong to the network team, and the Zammad FQDN and HTTP type settings must match the public address users see. Before cutting over, check the detailed steps in the sibling topic on Zammad behind Nginx or Apache with TLS and the restricted network guidance, rather than assuming the default proxy settings still apply.
Each move shifts support responsibility. Zammad support covers the application, and the container support boundary described on this page still applies, so database, Redis and proxy faults in your environment are yours to diagnose unless you hold a support subscription that says otherwise. Record every changed key, host and certificate in your runbook, and retest backups, restores and websocket behavior after the change. Ask any partner or vendor to state in writing which components they operate and which remain with your team.
How DeployOpen scopes and supports a production Zammad
A production Zammad on Docker Compose touches the application, the database, the cache, the search index, the proxy and the backup routine, and each one needs an owner. DeployOpen plans and implements these pieces inside your infrastructure, then documents and hands them over under a written, fixed scope. The cards below describe what that work covers and where your team's responsibilities begin.
Scoping the stack before install
Scope starts with the decisions that are hard to change later: which Compose scenario fits your channels, whether Elasticsearch runs in the stack, how many agents and mailboxes the helpdesk carries, and where the host sits in your network. DeployOpen records these choices in a written scope with deliverables and acceptance checks before any server is touched. Ask any partner to show you the scenario file, the .env values and the host sizing assumptions they plan to use, in writing, before you agree a price.
Host preparation and kernel settings
Container deployments fail in predictable ways when the host is prepared loosely. DeployOpen checks available RAM, the vm.max_map_count kernel setting that Elasticsearch needs, disk layout for container volumes, and time synchronization. Each setting is made persistent on the host and recorded in the runbook, so a reboot or a host rebuild does not silently break search. Confirm with your platform team who owns host hardening and kernel changes on your side.
Data stores and external services
Whether PostgreSQL, Redis and attachment storage stay inside the Compose stack or move to services you already run is a trade-off in ownership, backups and failover. DeployOpen documents the connection settings, credentials handling, network paths and restore expectations for each store. For a stack that uses the bundled database, ask who takes the nightly dump off the host and where it is stored. For external services, confirm who patches them and who answers when they fail.
Backups and restore testing
The built-in nightly backup service in the Compose stack produces files only. A backup is useful when a restore has been run on a separate host, so DeployOpen plans off-host copies, retention, encryption and a timed restore test as part of the implementation. The output is a runbook that names who restores, in what order, and how long your own team should expect the procedure to take. Ask for the restore test result, not only the backup job log.
Hardening, reverse proxy and access
The reverse proxy, TLS configuration, admin accounts, API tokens and single sign-on settings determine who can reach the helpdesk and what a compromised account can do. DeployOpen configures these in your environment, sets trusted proxy handling so client addresses and rate limits work, and records each setting with its owner. Ask which controls are in scope for hardening and which are left to your security team.
Documentation, handover and retainers
Handover is the document your operations team reads at 2 a.m. DeployOpen delivers architecture notes, configuration inventory, backup and restore steps, upgrade procedure and an ownership matrix. Once the system is live, ongoing support, upgrades and testing can be arranged as a retainer, separate from the fixed-scope build. Ask for the support boundary in writing, including what is covered for container problems and what falls to the vendor or your own team.
Zammad support boundaries
