Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #381 - Zammad-NGINX can not write config file due to read-only #383

Merged
merged 1 commit into from Nov 3, 2023

Conversation

mgruner
Copy link
Collaborator

@mgruner mgruner commented Nov 2, 2023

It seems that the description in #381 is correct. The current handling of the volume zammad-config-nginx seems to be wrong:

  • the nginx config does not get written by the zammad-init, but by the zammad-nginx container, and thus cannot be handed over in a volume
  • even if /etc/nginx/sites-enabled/ is readonly, it contains a symlink default which points to a file that is still writable - which is why it did work on my system properly

For me the conclusion is that we just need to remove this volume again so that the modifications are local to the zammad-nginx container.

@mgruner mgruner requested a review from monotek November 2, 2023 08:52
@mgruner mgruner self-assigned this Nov 2, 2023
@mgruner mgruner merged commit 069bf2b into master Nov 3, 2023
6 checks passed
@mgruner mgruner deleted the issue-381-nginx-config branch November 3, 2023 09:23
floriankessler pushed a commit to floriankessler/zammad-docker-compose that referenced this pull request Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants