Closed strifel closed 10 months ago
/docker-entrypoint.sh: line 119: /etc/nginx/sites-enabled/default: Read-only file system
https://github.com/zammad/zammad-docker-compose/blob/07936ea7e0a46ddc34089684c045e4325e0a5d34/docker-compose.yml#L96 sets the /etc/nginx/sites-enabled path as read-only.
/etc/nginx/sites-enabled
https://github.com/zammad/zammad/blob/74d5303cbf67c4507ccd0b78ac543f9fac533961/contrib/docker/docker-entrypoint.sh#L119 Writes the nginx config in
Is there any reason why the init container has access to the nginx config as well? This threw me off quite a bit during the search for the problem.
init
Is there any reason why the nginx container has it mounted? This seems to have been added in https://github.com/zammad/zammad-docker-compose/commit/ffa1268a2aab5b459b255c63e004b011117b3c0f without further explanation
Thanks for your report @strifel. It does not fail in the same way for me, but I agree that something is wrong with the current volume handling.
Infos
Expected behavior
Actual behavior
/docker-entrypoint.sh: line 119: /etc/nginx/sites-enabled/default: Read-only file system
Steps to reproduce the behavior
Further information
https://github.com/zammad/zammad-docker-compose/blob/07936ea7e0a46ddc34089684c045e4325e0a5d34/docker-compose.yml#L96 sets the
/etc/nginx/sites-enabled
path as read-only.https://github.com/zammad/zammad/blob/74d5303cbf67c4507ccd0b78ac543f9fac533961/contrib/docker/docker-entrypoint.sh#L119 Writes the nginx config in
Further questions
Is there any reason why the
init
container has access to the nginx config as well? This threw me off quite a bit during the search for the problem.Is there any reason why the nginx container has it mounted? This seems to have been added in https://github.com/zammad/zammad-docker-compose/commit/ffa1268a2aab5b459b255c63e004b011117b3c0f without further explanation