fix: remove old zoraxy container before deploying
This commit is contained in:
parent
2e7a0e3645
commit
360112c7b7
1 changed files with 2 additions and 1 deletions
|
|
@ -110,8 +110,9 @@ if [ "$GREENFIELD" = true ]; then
|
||||||
echo "[INFO] Version: $(cat $TARGET_DIR/VERSION)"
|
echo "[INFO] Version: $(cat $TARGET_DIR/VERSION)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Deploy Zoraxy
|
# Deploy Zoraxy (remove old container first to avoid name conflict)
|
||||||
cp compose/zoraxy.yaml "$TARGET_DIR/compose/zoraxy.yaml"
|
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"
|
podman-compose -f "$TARGET_DIR/compose/zoraxy.yaml" up -d 2>&1 || echo "[WARN] Zoraxy deploy had issues"
|
||||||
|
|
||||||
# Generate Zoraxy proxy configs
|
# Generate Zoraxy proxy configs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue