docs(docker): Use bind mounts instead of Docker volumes #2353
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
Continuwuity/Web Interface
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity!2353
Loading…
Reference in a new issue
No description provided.
Delete branch "stratself/continuwuity:stratself/docs-docker-bind-mounts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes it easier for beginners (and everyone, tbh) to administrate and do backup/restore.
Docker volume usage are now documented in an appendix section.
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
bit of a broader scope than advertised but lgtm
continuwuityinstead ofhomeserverfor the docker service f05dfc1417continuwuity-->homeserver5fbdeacacb1073ab826f@ -13,3 +13,3 @@volumes:- /var/run/docker.sock:/var/run/docker.sock- ./data:/data- ./caddy-data:/dataFor directories with epemeral data, I'm less sure about not using a volume to be honest
These contain TLS certs which can last for months. Don't wanna renew them on every server restarts
Volumes are persistent
I don't believe it's good practice having different mount types. CC @lveneris for thoughts on this
There is also the intention that the (beginner) user should know where all their data lives. Using volumes interspersed with binds may require a lengthier explanation
I agree with strat here, imo we can just have bind mounts instead of volumes/both