Comment on Docker, Truenas, and self-hosting...

<- View Parent
Jason2357@lemmy.ca ⁨2⁩ ⁨weeks⁩ ago

Yeah, I bind mount the config inside a config directory just below the compose file, and the state (databases, files, etc) to a seperate storage location that makes sense. The compose and config gets added to git and pushed to a forge, while the storage directories are backed up like normal (in my case, zfs snapshots pushed to another computer and then restic backs up those cold files to b2. The volumes are ephemeral.

original
Sort:hotnewtop