From 2544cf4c1b73a70343a4be9f8a60e952f706c74b Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Mon, 26 Oct 2026 15:40:49 +0100 Subject: [PATCH] remove orphans on deploy Signed-off-by: Basil Bruhn --- .gitea/workflows/webhosting-dmz.yaml | 2 +- Readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/webhosting-dmz.yaml b/.gitea/workflows/webhosting-dmz.yaml index a07f03b..73d985f 100644 --- a/.gitea/workflows/webhosting-dmz.yaml +++ b/.gitea/workflows/webhosting-dmz.yaml @@ -31,6 +31,6 @@ jobs: set -e cd /opt/WebHosting_DMZ git pull --ff-only origin main - docker compose up -d + docker compose up -d --remove-orphans docker compose exec -T nginx nginx -t docker compose exec -T nginx nginx -s reload diff --git a/Readme.md b/Readme.md index b7fb32b..c66f44a 100644 --- a/Readme.md +++ b/Readme.md @@ -23,7 +23,7 @@ For a manual deployment, run: ```bash cd /opt/WebHosting_DMZ git pull --ff-only origin main -docker compose up -d +docker compose up -d --remove-orphans docker compose exec -T nginx nginx -t docker compose exec -T nginx nginx -s reload ```