Skip to content

fix(minio): migrate to pgsty/minio community fork (upstream is source-only and archived) - #1012

Merged
Siumauricio merged 1 commit into
canaryfrom
fix/minio-source-only
Jul 14, 2026
Merged

Siumauricio merged 1 commit into
canaryfrom
fix/minio-source-only

Conversation

@Siumauricio

Copy link
Copy Markdown
Contributor

Problem

MinIO went source-only and the template's image source is dead:

  • October 2025: MinIO Inc. stopped publishing Docker images and pre-built binaries for the community edition (minio/minio#21647). The critical security fix in RELEASE.2025-10-15T17-29-55Z (CVE-2025-62506) was released source-only — the GitHub release has 0 binary assets.
  • February 2026: MinIO Inc. archived the minio/minio repository entirely ("no longer maintained", pointing users to their commercial AIStor product).
  • The official minio/minio Docker Hub image is frozen at RELEASE.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 pulls minio/minio (implicit latest), i.e. a permanently vulnerable image.

Decision: migrate to pgsty/minio

Candidates evaluated with real Docker Hub / GitHub data (as of 2026-07-14):

Option Verdict
pgsty/minio (Pigsty community fork) Chosen. GitHub pgsty/minio: 1.8k stars, active (last release 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, same server command, same /data on-disk format, and it restores the full web console upstream had gutted.
Pin last official minio/minio:RELEASE.2025-09-07T16-13-09Z Rejected as the primary fix: permanently misses the CVE-2025-62506 fix and everything after it.
coollabsio/minio Stalled: one-time rebuild of the 2025-10-15 release, last push 2025-10-27, 38k pulls.
OpenMaxIO Console-UI fork only (no server), no pushes since 2025-06-24.
Chainguard / Minimus Commercial registries, only latest on the free tier — unsuitable for a template.
Bitnami Deprecated.

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 the 9000:9000 host port publish with expose + a dedicated S3 API domain, per repo conventions (same pattern as the alarik template).
  • template.toml: added a second domain for the S3 API on port 9000 (the previously unused api_domain variable now does something).
  • meta.json: version pinned, links point at the maintained fork, description explains the migration.

Data compatibility: the minio-data volume, /data path, 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:

  • Web console (port 9001 via its domain): HTTP 200, MinIO Console loads.
  • S3 API (port 9000 via its domain): responds with Server: MinIO and a proper S3 XML AccessDenied for unauthenticated requests — API fully functional.
HTTP/1.1 403 Forbidden
Content-Type: application/xml
Server: MinIO
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code>...

node build-scripts/generate-meta.js --check passes (476 templates validated).

Closes #469

🤖 Generated with Claude Code

…-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]>
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 030d9d1

@Siumauricio
Siumauricio merged commit ffeaca1 into canary Jul 14, 2026
4 checks passed
@Siumauricio
Siumauricio deleted the fix/minio-source-only branch July 14, 2026 19:58
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

1 active deployment
Preview — 030d9d10 Deployed Jul 14, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MinIO going source only

1 participant