Post install docker zammad not working


  • Used Zammad version: 5.3.1
  • Used Zammad installation type: docker-compose from github
  • Operating system: CentOS 9-Stream
  • Browser + version: Any

Expected behavior:

  • Customize docker-compose + override leads to zammad starting & working

Actual behavior:

  • I customized the docker-compose.yml with some modifications :
  1. I changed the docker volumes to be local to the folder (I would have appreciated knowing the UID from elastic & zammad - 1001 & 1000)
  2. I added the networks: zammad for all containers + a traefik network that is used for my reverse proxy (which is, you guessed right, traefik)
  3. I added the labels for traefik to pick up the nginx container
  4. I configured the .env with the following :

Now what happens is that the init container starts and configures the DB + elastic + the files.
Once done, the last line I see in the nginx container is : starting nginx…

I can connect to my setup & run the wizard, create the super admin, but I can’t login afterwards because of CSRF token issues, and after a random amount of time (I’m guessing 3/5 minutes), the container just stops, as if a healthcheck was failing and the container was forced restarting.

Steps to reproduce the behavior:

OK New update, I created a custom nginx.conf that I built in a new image where I replaced :
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto https;

Now I can login with no CSRF issue.

However, I still have the nginx container quitting unexpectedly :
zammad-nginx_1 exited with code 0

Hard to tell. Exit code 0 usually is no error.
Possibly the container was killed to exhausted resources?

Maybe your host log files or compose log files do contain hints.