Skip to content

docker-compose should not mount /var/lib/redis #715

@gnouts

Description

@gnouts

Hi,
I've blindly use your docker-compose as docker should be containerized.
Except I had Redis configure for other non-dockerized services.
I don't know much about Redis but my other services crashed because Redis was not properly handling requests anymore.
EDIT : Actually, it messed with permission on file and directory of /var/lib/redis

You should mount volume from local directory, not from system folder.
I acknowledge, I should have been more careful, though it's still a best practice for docker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions