this post was submitted on 30 Oct 2023
2 points (100.0% liked)

Homelab

22 readers
1 users here now

Rules

founded 1 year ago
MODERATORS
 

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?

top 1 comments
sorted by: hot top controversial new old
[–] unixuser011@alien.top 1 points 1 year ago

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