A docker compose stack to host the current version of all programm branches updated via webhooks
 
 
Go to file
Andre Challier ce254e4e47 fixed hook parameter order 2024-03-28 09:42:35 +01:00
webhooks-git fixed hook parameter order 2024-03-28 09:42:35 +01:00
.env fixed even more environment variables 2024-03-27 18:50:38 +01:00
Dockerfile Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00
README.md Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00
docker-compose.yml dont ask me please... 2024-03-27 19:31:02 +01:00
webhook-git-2.Dockerfile Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00
webhook-git.Dockerfile Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00

README.md

Docker Nginx Git

This is a container to serve static pages from two git repositories. One repository holds the static sites, the other holds an assets-folder.

From the static sites repository all branches are initially loaded to $HTML_FOLDER/branches/<branchname>, the assets folder is initially loaded to $HTML_FOLDER/assets.

On a push to some branch on the static sites repository, this branches folder is deleted and cloned again. The assets folder is only updated if the push happened on the main branch.