Docker is a container-based software framework for automating deployment of applications. Compose is a tool for defining and running multi-container Docker applications. This repo is meant to be the starting point for somebody who likes to use dockerized multi-container Zammad in production. The Zammad Docker image uses the stable branch of Zammad’s Git repo.
The Docker images are hosted on DockerHub:
But in production it is well suited to use the Zammad Docker Compose Image. The Zammad Docker Image can be used in developement and test environments.
Tip: Never use the “latest” tag. Use a tag which has a version attached.
You need at least 4 GB of RAM to run the containers.
Your Docker environment needs to be up and running and you need to have docker-compose installed.
https://docs.docker.com/engine/installation/
https://docs.docker.com/compose/install/
The URL for Zammad Docker Compose is https://github.com/zammad/zammad-docker-compose
git clone https://github.com/zammad/zammad-docker-compose.git
cd zammad-docker-compose
sysctl -w vm.max_map_count=262144
OR
sudo sysctl -w vm.max_map_count=262144
Tip: For Mac OS: https://github.com/zammad/zammad-docker/issues/27#issuecomment-455171752
docker-compose up
OR
sudo docker-compose up
“Welcome to Zammad!”, there you need to create your admin user and invite other agents.
docker-compose stop
git pull
docker-compose pull
docker-compose up
GIT_BRANCH=develop docker-compose -f docker-compose-build.yml up
GIT_BRANCH=develop docker-compose -f docker-compose-build.yml build –no-cache
docker-compose exec zammad /bin/bash
The nginx container may have compatibility problems with other machines or services pointing to port 0.0.0.0:80. So to fix this, we’ll just have to modify the file docker-compose.override.yml and select different ports