fix: remove old zoraxy container before deploying

This commit is contained in:
Claus Lohmar 2026-07-07 14:33:28 +01:00
parent 2e7a0e3645
commit 360112c7b7

View file

@ -110,8 +110,9 @@ if [ "$GREENFIELD" = true ]; then
echo "[INFO] Version: $(cat $TARGET_DIR/VERSION)"
fi
# Deploy Zoraxy
# Deploy Zoraxy (remove old container first to avoid name conflict)
cp compose/zoraxy.yaml "$TARGET_DIR/compose/zoraxy.yaml"
podman rm -f zoraxy 2>/dev/null || true
podman-compose -f "$TARGET_DIR/compose/zoraxy.yaml" up -d 2>&1 || echo "[WARN] Zoraxy deploy had issues"
# Generate Zoraxy proxy configs