A docker compose stack to host the current version of all programm branches updated via webhooks
 
 
Go to file
Andre 87a1c9b76a Restart-Anweisung in beide Container aufgenommen
Die Container werden nach einem Tag beendet, daher wurde hier eine Restart-Anweisung aufgenommen, damit sie danach wieder gestartet werden.
2025-04-19 14:56:14 +02: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 Restart-Anweisung in beide Container aufgenommen 2025-04-19 14:56:14 +02: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.