Skip to content

chore(docker): remove unused MinIO and mc services - #250

Merged
matrixise merged 1 commit into
masterfrom
chore/remove-minio
Sep 25, 2026
Merged

matrixise merged 1 commit into
masterfrom
chore/remove-minio

Conversation

@matrixise

Copy link
Copy Markdown
Contributor

Summary

Remove the minio and mc services from the local Docker stack, together with every reference to them.

Why

  • MinIO was never used. Dev settings rely on FileSystemStorage (base.py, not overridden in dev.py), and no settings file, env file or commit in the history ever configured an S3 endpoint (git log --all -S endpoint_url is empty). CI does not use it either. Production uses AWS S3 directly through S3Boto3Storage in production.py, so it is unaffected.
  • The images are gone. quay.io/minio/minio and quay.io/minio/mc now return 401 Unauthorized, and Docker Hub no longer serves minio/minio / minio/mc (the upstream repo is archived). As a result, task stack:pull, the README setup step (docker compose up -d postgres redis minio) and docker compose run web (which depended on minio) fail on any machine without a cached image.

A replacement (RustFS 1.0.0) was evaluated and works with django-storages/boto3/Wagtail, but since nothing needs local S3 today, no replacement is added.

Changes

  • docker-compose.yml: drop the minio and mc services, the minio-data volume and the web -> minio dependency
  • Taskfile.yaml: stack:pull only pulls postgres and redis
  • README.md, CLAUDE.md: update the service lists
  • .gitignore: drop the mc/ entry

Developers can remove a leftover local volume with docker volume rm <project>_minio-data.

Overlaps with the MinIO part of draft #202; that PR will need a small rebase on docker-compose.yml.

Test plan

  • docker compose config -q passes, services: postgres, redis, test, web
  • docker compose run --rm test: 7 tests OK
  • No remaining minio / mc reference in tracked files

🤖 Generated with Claude Code

MinIO was never wired into Django: dev settings use FileSystemStorage and
production uses AWS S3 directly, with no S3 endpoint override anywhere in
the history. The MinIO images are also no longer pullable (quay.io returns
401, Docker Hub removed minio/minio and minio/mc), which broke
`task stack:pull`, the README setup step and `docker compose run web` on
a fresh machine because web depended on minio.

Drop the minio and mc services, the minio-data volume, the web dependency,
and the related references in Taskfile, README, CLAUDE.md and .gitignore.
@matrixise
matrixise merged commit 99e5c5a into master Sep 25, 2026
2 checks passed
@matrixise
matrixise deleted the chore/remove-minio branch September 25, 2026 06:41
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.

1 participant