this post was submitted on 22 Feb 2024
162 points (98.8% liked)

Selfhosted

40296 readers
271 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world 4 points 9 months ago* (last edited 9 months ago) (1 children)

Bind mounts. Always use bind mounts for data you care about, otherwise the "managed by docker" volumes are fated to be forgotten.

It won't be your file structure as the file tree is managed by paperless, but at least using bind mounts you can easily navigate files and back them up independently or docker and paperless.

[–] AtariDump@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (1 children)

No idea what a bind mount is.

Is that supposed to be a line in the compose file?

[–] eager_eagle@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (1 children)

yes, a bind mount / bind volume is when a volume is explicitly mapped to a location in your local storage rather than managed by docker and likely owned by root.

https://docs.docker.com/compose/compose-file/compose-file-v3/#volumes

[–] AtariDump@lemmy.world 1 points 9 months ago

Ok.

That’s over my head. I barely have a grasp on docker. And even then I’m paranoid that I’m screwing something up.