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

Database volume in docker-compose.yml #64

Open
receter opened this issue Apr 28, 2020 · 0 comments
Open

Database volume in docker-compose.yml #64

receter opened this issue Apr 28, 2020 · 0 comments

Comments

@receter
Copy link

receter commented Apr 28, 2020

I checked the contents of the volume specified in docker-compose.yml and it stays emtpy. I did find the database files stored in another volume that is managed by docker.

Is the line and creation of the volume db-data unnecessary and thus can be removed or is it another configuration option thats missing?

I skimmed the docs for the MySQL container (https://hub.docker.com/_/mysql) and it seems to me that there are two options for storing the data and the option where Docker manages the storage database data is used.

Any ideas on how to fix this so the data is in db-data?

I am quite new to docker and maybe I am missing something else?

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

No branches or pull requests

1 participant