Repository navigation
Document addon packages in custom Zammad Docker images - #932
mikebenner wants to merge 2 commits into
Conversation
|
Review evidence for base
|
|
Hi @mikebenner thanks a lot for your effort. However, our idea was to not document this because it is intended to be used just internally. Sure, you could also build your own images with add-ons, but this approach is much more complicated than forking the Zammad repo and building a custom image from there. Maybe you can shed some light about your use-case? Thanks and happy hacking! |
|
I have forked the repo, but my goal was to be able to simply use the application as close to the vanilla install as possible. So ideally I would like to not maintain my own fork. I have opened 3 PRs on the main repo. Related to O365 GCC-High support and Telnyx integration on par with the Twilio integration. I looked into prior issues and saw that similar changes had been declined because they might be difficult to test or maintain. This documentation PR was more to hedge my bets in case those PRs were declined, I wanted to make sure that going the add-on path was supported when running the app as a docker container. The GCC-High support being native is more important than Telnyx for my organization. I can move my services back to Twilio if there is a reason you are not interested in supporting Telnyx. |
|
We have do discuss it internally and will get back to you. Be aware that this may take a few weeks because of other prioritized topics. |
Addon code copied into a running Docker container is lost when that container is replaced and is unavailable to the other application services. Zammad 7.2 already supports building addon packages into a custom image, but the Docker installation and update guides do not explain that workflow.
This adds a guide for staging
.zpmpackages in a release source checkout, building the image withCOMMIT_SHA, selecting the same image for all Zammad Compose services, and letting init register packages and run migrations. It distinguishes code in the image from package metadata in PostgreSQL and uploaded files in the storage volume, and covers addon updates, Zammad upgrades and staged removals. The installation and update pages link to it.Validation: the complete English HTML documentation builds with Sphinx warnings treated as errors. Commands and behavior were cross-checked against the 7.2.0 Dockerfile, current container entrypoint/package tasks, and official Compose image configuration. Existing application CI covers staged package installation and removal. I have not locally built the example image or run a container recreation/upgrade cycle because this account cannot access the Docker daemon.
This documents existing functionality; it does not change container installation safeguards or promise compatibility for third-party addons.