1 year ago

#287914

test-img

white_gecko

Watch Git Repositories in a docker volume

I have a setup of a simple http server that serves the content of a directory, running in docker. The content of the directory is a static web page, that is versioned with git. When changes happen to the site the remote repository is updated.

How can the cloned repository be updated automatically, when the remote repository is updated. Either the cloned repository watches for changes or the remote sends some hook. Or is there some mirroring mechanism for git repositories?

Is something like Watchtower but for git repositories in volumes instead of docker images available?

git

docker

webhooks

watch

mirroring

0 Answers

Your Answer

Accepted video resources