Skip to content

Setting permissions for message directory not documented #53

@gregcorbett

Description

@gregcorbett

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions