mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
updated docker compose and update_website
This commit is contained in:
1 parent
02900bbbee
commit
228149c0d8
2 files changed
+7
-1
No files matched your search
@@ -19,6 +19,7 @@ services:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=narl"
|
||||
# Route /api, /admin, /static and /media traffic to the backend
|
||||
- "traefik.http.routers.holy-backend.priority=20"
|
||||
- "traefik.http.routers.holy-backend.rule=Host(`holy.narl.io`) && (PathPrefix(`/api`) || PathPrefix(`/admin`) || PathPrefix(`/static`) || PathPrefix(`/media`))"
|
||||
- "traefik.http.routers.holy-backend.entrypoints=websecure"
|
||||
- "traefik.http.routers.holy-backend.tls.certresolver=https_resolver"
|
||||
@@ -42,6 +43,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=narl"
|
||||
- "traefik.http.routers.holy-frontend.priority=10"
|
||||
- "traefik.http.routers.holy-frontend.rule=Host(`holy.narl.io`)"
|
||||
- "traefik.http.routers.holy-frontend.entrypoints=websecure"
|
||||
- "traefik.http.routers.holy-frontend.tls.certresolver=https_resolver"
|
||||
|
||||
+5
-1
@@ -1,6 +1,10 @@
|
||||
sudo docker compose down
|
||||
git pull origin main
|
||||
git stash
|
||||
git checkout main
|
||||
git pull
|
||||
git checkout narl.io
|
||||
git merge main
|
||||
git stash apply
|
||||
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`"
|
||||
|
||||
Reference in new issue
Block a user