You could manage / deploy those compose files using ansible.
this post was submitted on 30 Oct 2023
2 points (100.0% liked)
Homelab
371 readers
3 users here now
Rules
- Be Civil.
- Post about your homelab, discussion of your homelab, questions you may have, or general discussion about transition your skill from the homelab to the workplace.
- No memes or potato images.
- We love detailed homelab builds, especially network diagrams!
- Report any posts that you feel should be brought to our attention.
- Please no shitposting or blogspam.
- No Referral Linking.
- Keep piracy discussion off of this community
founded 1 year ago
MODERATORS
in my docker setup, I have everything under /home/docker/ and have all those volumes shared to their specific container - that way, when you're backing up, you only need to backup the volume and docker-compose file
As for git, I'd keep your docker-compose files in git and have your volumes in storage as the compose files are the most likely to be modified and it's good to have version control