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

add a volume for faster init #165

Open
pj050806 opened this issue Jul 17, 2023 · 3 comments
Open

add a volume for faster init #165

pj050806 opened this issue Jul 17, 2023 · 3 comments

Comments

@pj050806
Copy link

https://github.com/buschlab/MIRACUM-cbioportal/blob/92a442e7e82962cedea979b9fe7d6be51de0f177/docker-compose.yml#L218C1-L218C1

consider adding a volume

volumes: 
  - vol:/var/lib/mysql

for faster initialization and data persistence

@nr23730
Copy link
Member

nr23730 commented Jul 19, 2023

This image actually comes preloaded with data. So adding a volume to that mount point would override the data that is shipped with the container, and so break the functionality of the ensembl-rest container that uses this database.

@nr23730
Copy link
Member

nr23730 commented Jul 19, 2023

For details you can look up the files here: https://github.com/buschlab/MIRACUM-cbioportal/tree/master/services/ensembl-mysql

@pj050806
Copy link
Author

According to my test and what is described here as node_modules volume trick and also here the data won't change.

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

2 participants