Skip to content

Why so many volumes? #478

Answered by DavidMStraub
pwalkr asked this question in Q&A
Aug 2, 2024 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

Hi! Thanks for the nice words.

You can use less volumes if you like - the main reason for splitting them was actually that not all of them are equally relevant for a backup.

Would it be bad to simply mount a gramps_data on /app?

Yep, that would be bad, because /app contains the source code for Web API: https://github.com/gramps-project/gramps-web-api/blob/master/Dockerfile#L67

Is mounting /tmp necessary?

It's necessary, yes, because that's how the Web API container and the Celery container share temporary files (e.g., the celery container creates an export and the flask container serves it). Using redis for that doesn't make sense - imagine generating a media archive ZIP, which can be…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by pwalkr
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@DavidMStraub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants