Skip to content

chore: replace MinIO with RustFS for local S3 - #46

Merged
fe51 merged 3 commits into
mainfrom
chore/replace-minio-with-rustfs
Sep 24, 2026
Merged

fe51 merged 3 commits into
mainfrom
chore/replace-minio-with-rustfs

Conversation

@MateoLostanlen

@MateoLostanlen MateoLostanlen commented Sep 24, 2026 •

Copy link
Copy Markdown
Member
  • The minio/minio image can no longer be pulled from Docker Hub, so a fresh make run-backend fails.
  • The minio service becomes rustfs (rustfs/rustfs:1.0.0, pinned), and S3_ENDPOINT_URL in .env.test becomes http://rustfs:9000.
  • RustFS supports bucket CORS, so the frontend can fetch() presigned image URLs locally.
  • pyro-api now gets S3_CORS_ORIGINS=http://localhost:8080. RustFS enforces the bucket CORS rule, and pyro-api's default origin (localhost:5173) is not the frontend.
  • Existing setups must set S3_ENDPOINT_URL=http://rustfs:9000 in .env. The S3 console is now at http://localhost:9001/rustfs/console/.

The minio/minio image can no longer be pulled from Docker Hub.
RustFS enforces the bucket CORS rule that pyro-api sets at bucket creation,
and its default origin (localhost:5173) is not the frontend.
@MateoLostanlen
MateoLostanlen requested a review from fe51 September 24, 2026 12:22

@fe51 fe51 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @MateoLostanlen happy tothis PR after Minio has removed open s3 services. Happy to use RustFS which is fast and works as expected !

Thanks a lot ! Good to merge, reviewed and tested !

@fe51
fe51 merged commit 047b26f into main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants