The method with which I securely and easily keep track of my local config files.
The basic workflow consists of creating a private (GitHub) Repo with the following structure
{SERVERNAME}.{CONFIGFILENAME}
: for example, raspberrypi.docker-compose.yml. These can be as many as you want.{SERVERNAME}.config.sh
: a script that clones or pulls the repo, and creates symbolic links for the necessary files. The code for this will be shown below.
From there, you can simply run the X.config.sh files using a cronjob, systemd, or just manually.