mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
merged
This commit is contained in:
1 parent
606c3bc2a7
commit
6dc79a0a13
2 files changed
+12
-2
No files matched your search
+2
-2
@@ -1,6 +1,5 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
# --- Backend Service ---
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
@@ -25,6 +24,7 @@ services:
|
|||||||
- "traefik.http.routers.holy-backend.tls.certresolver=https_resolver"
|
- "traefik.http.routers.holy-backend.tls.certresolver=https_resolver"
|
||||||
- "traefik.http.services.holy-backend.loadbalancer.server.port=8000"
|
- "traefik.http.services.holy-backend.loadbalancer.server.port=8000"
|
||||||
|
|
||||||
|
# --- Frontend Service ---
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
|
|||||||
Executable
+10
@@ -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
|
||||||
Reference in new issue
Block a user