Skip to content

fix path for mariadb data dir for persistence #47

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OyvindLGjesdal
Copy link

@OyvindLGjesdal OyvindLGjesdal commented Mar 19, 2025

I think there is a typo in volume path, someone may end up without persistence while using the example.

https://hub.docker.com/_/mariadb

The path could also be moved up one level

from:
https://hub.docker.com/_/mariadb

The -v /my/own/datadir:/var/lib/mysql:Z part of the command mounts the /my/own/datadir directory from the underlying host system as /var/lib/mysql inside the container, where MariaDB by default will write its data files.

@OyvindLGjesdal
Copy link
Author

OyvindLGjesdal commented Mar 19, 2025

I believe the jdbc connector used in the current docker image (intranda/goobi-workflow:default-plugins) also has issues with mariadb 10.1, and understanding the jdbc url. I updated to 10.11 here which worked. It could also just be that I was confusing errors due to a missing volume.

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 this pull request may close these issues.

1 participant