Hello, I’m doing my darndest to learn docker but I’m a bit lost in the sauce for understanding how to best structure the setup for backing up and portability.
My current approach is that I keep my docker compose yaml file in git (just using 1 for the time being) and all of my container configs live in another directory outside of this git repo. I understand if I were to move systems or my system were to fail, I’d need these docker config folders to setup my containers on a new system.
As for backing the config folders up, I plan to relocate them to a shared folder on my NAS. Is this the right way to do this or is there a better way to approach this?
Hopefully the lingo is correct, still learning. Thanks a ton!