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

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

Open
gnouts opened this issue Apr 17, 2020 · 0 comments · May be fixed by #716
Open

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

gnouts opened this issue Apr 17, 2020 · 0 comments · May be fixed by #716

Comments

@gnouts
Copy link

gnouts commented Apr 17, 2020

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.

@gnouts gnouts linked a pull request Apr 18, 2020 that will close this issue
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 a pull request may close this issue.

1 participant