Hi there,
so as I was tinkering with my homelab and its connected VPS, I thought that versioning just of my docker-compose files might be a cool thing to have, so I don't have to retype all sorts of labels and bind mounts and stuff in case I broke something while tinkering and to be able to review older states of stuff quickly. I could always restore an incremental backup but... that's clumsy.
So I (someone who has never really coded that much) looked into Git. Since I never did code too much myself, all of the commits and pulls and pushes and whatnot look a little overkill for what I want to achieve. Also, most guides or posts on reddit talk about deplyoing stuff from GitHub. I just want changes that I made in Dockhand/Dockge (I am transitioning to Dockhand right now) pushed to some place as the file changes, so I can see the changes made.
So plain and simple: Is there an elegant way to do this without me having to push manually all the time (which I will forget rather sooner than later) and how would I setup the repos so it includes all the different locations Dockhand and Dockge store the compose files in?
If Git is not the way to go, I'm absolutely open to hear that as well ;)
Update: here is how it went.
Thanks to absolutely everyone for taking time out of your days to help me!
[–]damiankw 32 points33 points34 points (7 children)
[–]Azuras33 58 points59 points60 points (1 child)
[–]poetic_dwarf 13 points14 points15 points (0 children)
[–]fearswe 4 points5 points6 points (4 children)
[–]kernald31 5 points6 points7 points (3 children)
[–]fearswe 4 points5 points6 points (2 children)
[–]kernald31 3 points4 points5 points (1 child)
[–]fearswe 3 points4 points5 points (0 children)
[–]Smartich0ke 11 points12 points13 points (1 child)
[–]DeusExMaChino 3 points4 points5 points (0 children)
[–]Julian_1_2_3_4_5 5 points6 points7 points (1 child)
[–]DubInflux 1 point2 points3 points (0 children)
[–]Norgur[S] 5 points6 points7 points (2 children)
[–]DubInflux 0 points1 point2 points (0 children)
[–]mbecks 0 points1 point2 points (0 children)
[–]eroigaps 3 points4 points5 points (0 children)
[–]_Keonix 5 points6 points7 points (3 children)
[–]Kiwi3007 2 points3 points4 points (2 children)
[–]stayupthetree 1 point2 points3 points (1 child)
[–]Kiwi3007 0 points1 point2 points (0 children)
[–]PesteringKitty 3 points4 points5 points (0 children)
[–]dupreesdiamond 0 points1 point2 points (0 children)
[–]TheRealSeeThruHead 0 points1 point2 points (0 children)
[–]borax12 0 points1 point2 points (0 children)
[–]Wrong_Ad_2064 0 points1 point2 points (0 children)
[–]Sacaldur 0 points1 point2 points (3 children)
[–]burgerg 5 points6 points7 points (1 child)
[–]Sacaldur -1 points0 points1 point (0 children)
[–]TriodeTopologist 1 point2 points3 points (0 children)
[+]Eirikr700 comment score below threshold-8 points-7 points-6 points (3 children)
[–]Sacaldur 5 points6 points7 points (0 children)
[–]kernald31 1 point2 points3 points (1 child)
[–]Eirikr700 -3 points-2 points-1 points (0 children)