Repository navigation
fix(minio): migrate to pgsty/minio community fork (upstream is source-only and archived) - #1012
Merged
Merged
Conversation
…-only and archived) MinIO Inc. stopped publishing Docker images and pre-built binaries in October 2025 and archived the minio/minio repository in February 2026. The official minio/minio image is frozen at RELEASE.2025-09-07T16-13-09Z and no longer receives security fixes (the fix for CVE-2025-62506 was never published as an image). - Switch image to pgsty/minio:RELEASE.2026-06-18T00-00-00Z, the actively maintained community fork (drop-in replacement, AGPLv3, same env vars, same /data on-disk format, restores the full web console) - Route the S3 API (port 9000) through its own generated domain instead of publishing host port 9000, per repo conventions - Update meta.json links/description to point at the maintained fork Closes #469 Co-Authored-By: Claude Fable 5 <[email protected]>
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
srinji-kaggss
added a commit
to srinji-kaggss/webstudio-self-host
that referenced
this pull request
Oct 22, 2026
minio/minio and minio/mc are gone from Docker Hub since upstream archived, so compose pull and up failed and the stack ran RELEASE.2025-09-07, which predates the CVE-2025-62506 fix. Use pgsty/silo, the maintained MinIO fork, pinned to RELEASE.2026-10-18T00-00-00Z: same S3 API, MINIO_* env and on-disk format, ships mc and curl, so minio-init and the healthcheck run unchanged. The frozen coollabsio rebuild was rejected because it gets no later fixes. The new upstream builder renamed its cookie code, so the old patch failed the build. Upstream now inherits the request scheme in parseBuilderUrl (old Fix 3 dropped) and gates Secure/__Host- on ALLOW_INSECURE_COOKIES, which it refuses in production. patch.rs makes SECURE_COOKIE follow the DEPLOYMENT_URL scheme, keeps the production refusal for the explicit flag, and anchors the localhost origin bypass to preventCrossOriginCookie only. It runs in a throwaway rustc stage; every target must match exactly once or the build fails. Order note: a first draft was written before the design-gate plan. It was backed out to HEAD, the plan (fd0e2bb262e4692f) was recorded, and the change was re-applied with the research outcome (Silo instead of coollabsio). Live: Silo healthy on the existing volume, bucket kept, anonymous asset GET 200; Safari-shaped POST /auth/dev -> 302, cookie _session_3 without Secure or __Host-, /dashboard 200 with it, 302 to /login without it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Design-Plan: fd0e2bb262e4692f (pgsty/silo release pin + Rust patch.rs stage) Cited: minio community edition archived docker images no longer published Cited: Dokploy/templates#1012 Cited: https://github.com/pgsty/minio/releases Cited: https://hub.docker.com/r/pgsty/silo Cited: CVE-2025-62506 MinIO privilege escalation service account session policy Cited: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie Cited: webstudio self-host ALLOW_INSECURE_COOKIES localhost http __Host- cookie Cited: Safari Sec-Fetch-Site header form POST missing Cited: httpwg/http-extensions#2605 Cited: docker multi-stage build COPY --from --chown preserve file ownership non-root user Cited: minio docker compose healthcheck mc ready local
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
MinIO went source-only and the template's image source is dead:
RELEASE.2025-10-15T17-29-55Z(CVE-2025-62506) was released source-only — the GitHub release has 0 binary assets.minio/miniorepository entirely ("no longer maintained", pointing users to their commercial AIStor product).minio/minioDocker Hub image is frozen atRELEASE.2025-09-07T16-13-09Z(last push 2025-09-07, verified via the Docker Hub API) and will never receive another security fix. The template currently pullsminio/minio(implicitlatest), i.e. a permanently vulnerable image.Decision: migrate to
pgsty/minioCandidates evaluated with real Docker Hub / GitHub data (as of 2026-07-14):
pgsty/minio(Pigsty community fork)RELEASE.2026-06-18T00-00-00Z, 2026-06-18, 20 binary assets). Docker Hub: 393k pulls, multi-arch (amd64+arm64), regular releases since Feb 2026. AGPLv3, drop-in replacement: same env vars, sameservercommand, same/dataon-disk format, and it restores the full web console upstream had gutted.minio/minio:RELEASE.2025-09-07T16-13-09Zcoollabsio/miniolateston the free tier — unsuitable for a template.The image is pinned to
RELEASE.2026-06-18T00-00-00Z(the fork's latest release) so upgrades are explicit and reproducible.Changes
docker-compose.yml:minio/minio→pgsty/minio:RELEASE.2026-06-18T00-00-00Z, with a comment documenting the upstream situation. Removed the stale comment about the pre-2025-04-22 admin UI (the fork restores the full console). Replaced the9000:9000host port publish withexpose+ a dedicated S3 API domain, per repo conventions (same pattern as thealariktemplate).template.toml: added a second domain for the S3 API on port 9000 (the previously unusedapi_domainvariable now does something).meta.json: version pinned, links point at the maintained fork, description explains the migration.Data compatibility: the
minio-datavolume,/datapath, credentials env vars and S3 API are unchanged — existing deployments' data keeps working after the image swap.Deploy verification
Deployed on a Dokploy instance from this branch:
Server: MinIOand a proper S3 XMLAccessDeniedfor unauthenticated requests — API fully functional.node build-scripts/generate-meta.js --checkpasses (476 templates validated).Closes #469
🤖 Generated with Claude Code