Deploy Zammad
A web-based, open source helpdesk/customer support system with many features.
⭐ 5.0k stars📜 AGPLv3🔴 Advanced⏱ ~20 minutes
What You’ll Get
A fully working Zammad instance running on your server. Your data stays on your hardware — no third-party access, no usage limits, no surprise invoices.
Prerequisites
- A server with Docker and Docker Compose installed (setup guide)
- A domain name pointed to your server (optional but recommended)
- Basic terminal access (SSH)
The Config
Create a directory for Zammad and add this docker-compose.yml:
# -------------------------------------------------------------------------
# 🚀 Created and distributed by The AltStack
# 🌍 https://thealtstack.com
# -------------------------------------------------------------------------
version: '3.8'
services:
zammad:
image: zammad/zammad-docker-compose:zammad-6.3.1-23
container_name: zammad
restart: unless-stopped
depends_on:
- zammad-postgresql
- zammad-elasticsearch
- zammad-redis
ports:
- "8080:8080"
zammad-elasticsearch:
image: bitnami/elasticsearch:8.12.2
container_name: zammad-elasticsearch
restart: unless-stopped
environment:
- discovery.type=single-node
zammad-postgresql:
image: postgres:15-alpine
container_name: zammad-postgresql
restart: unless-stopped
environment:
- POSTGRES_USER=zammad
- POSTGRES_PASSWORD=zammad
zammad-redis:
image: redis:7.2-alpine
container_name: zammad-redis
restart: unless-stoppedLet’s Ship It
# Create a directory
mkdir -p /opt/zammad && cd /opt/zammad
# Create the docker-compose.yml (paste the config above)
nano docker-compose.yml
# Pull images and start
docker compose up -d
# Watch the logs
docker compose logs -fEnvironment Variables
| Variable | Default | Required |
|---|---|---|
POSTGRES_USER | zammad | No |
POSTGRES_PASSWORD | zammad | No |
Post-Deployment Checklist
- Service is accessible on the configured port
- Admin account created (if applicable)
- Reverse proxy configured (Caddy guide)
- SSL/HTTPS working
- Backup script set up (backup guide)
- Uptime monitor added (Uptime Kuma)
The “I Broke It” Section
Container won’t start?
docker compose logs zammad | tail -50Port already in use?
# Find what's using the port
lsof -i :PORT_NUMBERNeed to start fresh?
docker compose down -v # ⚠️ This deletes volumes/data!
docker compose up -d