fix: stop container before compose up to avoid network recreation issues
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 4m18s
Run Tests / Backend Tests (push) Failing after 16m28s
Run Tests / Frontend Tests (push) Failing after 16m26s
Run Tests / Test Summary (push) Failing after 17s

This commit is contained in:
Gan, Jimmy
2026-04-02 10:29:31 +08:00
parent 2c8f4fcd5c
commit f275e52843
+2
View File
@@ -64,4 +64,6 @@ jobs:
- name: Deploy dev
run: |
export DOCKER_API_VERSION=1.43
# Stop container gracefully before recreating
docker stop nas-dashboard-dev 2>/dev/null || true
docker compose -f /nas-dashboard/docker-compose.dev.yml up -d --pull never