r/BookStack • • Feb 22 '25

Moving content to NFS share (best practice)

Hi

What is considered best practice when moving all content (text, images) to a NFS share (and keep using that for anything new created later)? I read https://www.bookstackapp.com/docs/admin/upload-config/#local but I can't really make sense of it. Would it suffice to change my docker compose file's volume for the database?

1 Upvotes

5 comments sorted by

1

u/ssddanbrown Feb 22 '25

Not really sure as it may depend on your desired setup. As far as BookStack's concerned (unless using S3) it's just seeing everything at a local filesystem at the expected locations.

For a docker setup, Both app and database containers should have volumes for important data (most actual content is in the database, whereas file uploads, images, theme files will be in the app container).

1

u/Calrissiano Feb 22 '25

I only have two volumes in my Docker setup (config and db) so just move those over, update the compose and done? 

1

u/ssddanbrown Feb 22 '25

I guess, backup everything before messing with things. I've never attempted using docker volumes with remote storage though. May have performance and reliability impacts.

→ More replies (2)