This commit is contained in:
nvrl committed 2026-02-16 15:11:22 +01:00
1 parent 606c3bc2a7
commit 6dc79a0a13
2 files changed
+12 -2

No files matched your search

+2 -2
View File
@@ -1,6 +1,5 @@
version: '3.8'
services:
# --- Backend Service ---
backend:
build:
context: ./backend
@@ -25,6 +24,7 @@ services:
- "traefik.http.routers.holy-backend.tls.certresolver=https_resolver"
- "traefik.http.services.holy-backend.loadbalancer.server.port=8000"
# --- Frontend Service ---
frontend:
build:
context: ./frontend
+10
View File
@@ -0,0 +1,10 @@
sudo docker compose down
git pull origin main
git merge main
CONFLICTS=$(git ls-files -u | wc -l)
if [ "$CONFLICTS" -gt 0 ] ; then
echo "There are merge conflicts, resolve them and run `sudo docker compose up -d --build` or abort with `git merge --abort`"
exit -1
fi
sudo docker compose up -d --build