From 1ab9d51074a4563d0a330c974b38a0c865b73f04 Mon Sep 17 00:00:00 2001 From: Alex Reinking Date: Wed, 5 Aug 2026 13:18:34 -0400 Subject: [PATCH] Add --remove-orphans to the deploy step docker compose up -d alone leaves containers running for services that were removed from docker-compose.yml -- it only affects services still defined in the file. This is exactly what happened when #367 dropped the pypi/netmon services: their containers kept running untouched (netmon crash-looping) until a reboot surfaced it, at which point they just came back via each container's own restart policy. --remove-orphans makes 'docker compose up -d' actually reconcile to match the file. --- .github/workflows/validations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index 82d6fa5..9809de3 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -109,4 +109,4 @@ jobs: if git diff --name-only "$BEFORE" "$AFTER" | grep -qE '^(master/|master\.sh|pyproject\.toml|uv\.lock)'; then BUILD_FLAG="--build" fi - docker compose up -d $BUILD_FLAG + docker compose up -d --remove-orphans $BUILD_FLAG