From dd5afde5dfae077ea666784b32d7fcd130a3d9f3 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Tue, 2 Jun 2026 00:04:14 +0330 Subject: [PATCH] fix: add --force-recreate to docker compose deploy step Without this flag, the deploy fails with "container name already in use" when a container with the same name exists from a previous run. Co-Authored-By: Claude Sonnet 4.5 --- .gitea/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index a952dab..fe7d2c9 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -91,7 +91,7 @@ jobs: DOCKER_BUILDKIT: 1 - name: Deploy - run: docker compose up -d --no-deps api + run: docker compose up -d --no-deps --force-recreate api - name: Wait for healthy run: |