-
Notifications
You must be signed in to change notification settings - Fork 7
Description
The Dockerfile makes apache the owner of /var/spool/apel/cloud/ within the container.
Unfortunately, when deploying via docker-compose (and probably ansible as well) the host directory is mounted into the container, which overwrites the permissions set into the image at build time.
As a result, the person deploying the REST interface via those methods has to ensure the apache user within the container can write to the host directory that has been mounted into the container. Failure to do so prevents the interface saving received messages (returning a 500).
This should at least be documented, but changing the permissions of the mounted-in host directory could be done automatically as part of the docker/run_on_entry.sh script (at least in theory).