I’m looking for options to save my config and compose files for my various containers. I do take backups of everything as is and I’ve been trying to keep notes about it on my computer but I’d like a more centralized solution.
I’ve recently started moving all my documentation to wiki.js. I’ve been curious about Gitea/Github for storing my config and compose files but I’ll admit I don’t know much about git. Wiki.js I believe is able to export to a git repository. Would that be ideal?
You could manage / deploy those compose files using ansible.
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