Use a Github repository to manage your docker containers
Public repos:
docker run -e WATCHED_REPO="F1nnM/git-server-management" -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock git-docker-manager
Private repos:
docker run -e WATCHED_REPO="F1nnM/git-server-management" -e PAT="<your personal auth token>" -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock git-docker-manager
Settings > Webhooks. Add a webhook for the push event that sends a request to the container.
The repo should look like this:
┬─ compose
│ ├─ <project name>
│ │ ├─ docker-compose.yml
│ │ └─ <.....>
│ └─ <project name 2>
│ ├─ docker-compose.yml
│ └─ <.....>
└─ <.....>
Aside the compose folder the repo can contain any other files you want, just like this repo contains a compose folder with a test project