Subject: Issue with Code Changes Not Taking Effect in Zammad Docker-Compose Setup
Description:
Hello Zammad Team,
I have deployed Zammad using Docker Compose following the official documentation. My setup is as follows:
- Zammad Version: 6.4.1
- Deployment: Docker Compose
- Service Details:
zammad-railsserver
is running with the following volume mapping:
yaml
复制代码
volumes:
- ./zammad_backup_code:/opt/zammad
Issue:
After modifying the code (e.g., HTML, CSS, or Rails backend code) inside the zammad_backup_code
folder on the host machine, the changes do reflect inside the Docker container (/opt/zammad
), but the updated code does not appear on the frontend. I have already attempted the following steps:
- Cleared Rails cache:
bash
复制代码
docker compose run --rm zammad-railsserver rails r "Rails.cache.clear"
- Recompiled assets:
bash
复制代码
docker compose run --rm zammad-railsserver rails assets:precompile
- Restarted the relevant containers:
bash
复制代码
docker compose restart zammad-railsserver
docker compose restart zammad-nginx
- Cleared browser cache and performed a hard reload.
Observations:
- The changes are visible when checking the code inside the
zammad-railsserver
container (/opt/zammad
). - The frontend still shows the old version of the code.
- No errors appear in the
zammad-railsserver
orzammad-nginx
logs.
Request for Assistance:
Could you please guide me on what else I might be missing? Is there any additional cache layer or configuration that I need to address to ensure that my changes take effect?
Thank you for your support!