fix(deploy): use --remove-orphans in docker compose up to avoid container name conflicts
All checks were successful
Deploy Canina / deploy (push) Successful in 47s

This commit is contained in:
parsa aghaei 2026-07-29 16:07:43 +03:30
parent bf60df34ef
commit b115c971f5

View File

@ -65,7 +65,7 @@ echo "Building Docker images..."
docker compose build --build-arg NEXT_PUBLIC_API_URL="${API_URL}/api" --build-arg VITE_API_URL="${API_URL}"
echo "Starting containers..."
docker compose up -d
docker compose up -d --remove-orphans
echo "Waiting for backend to start..."
sleep 15