A docker compose stack to host the current version of all programm branches updated via webhooks
 
 
Go to file
Andre Challier d5c733767b Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00
webhooks-git Changed to docker-compose deployment 2024-03-27 13:06:51 +01:00
.drone.yml testing 2024-03-26 17:25:06 +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 Changed to docker-compose deployment 2024-03-27 13:06:51 +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.