162
you are viewing a single comment's thread
view the rest of the comments
[-] eager_eagle@lemmy.world 4 points 2 years ago* (last edited 2 years ago)

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 2 years ago* (last edited 2 years ago)

No idea what a bind mount is.

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

[-] eager_eagle@lemmy.world 1 points 2 years ago* (last edited 2 years ago)

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 2 years 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.

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

Selfhosted

64209 readers
343 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS