From 1a4f75990256934c1c13cbc8dff2d754eea70300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 25 Sep 2026 08:38:08 +0200 Subject: [PATCH] chore(docker): remove unused MinIO and mc services 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. --- .gitignore | 3 --- CLAUDE.md | 2 +- README.md | 2 +- Taskfile.yaml | 2 +- docker-compose.yml | 29 ----------------------------- 5 files changed, 3 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index d96d0d2..063942e 100644 --- a/.gitignore +++ b/.gitignore @@ -76,8 +76,5 @@ production.env # Local settings pythonie/pythonie/settings/pgdev.py -# MinIO data directory -mc/ - # Personal notes TODO.md diff --git a/CLAUDE.md b/CLAUDE.md index 7d13f9c..fc0b6b3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -68,7 +68,7 @@ uv run python pythonie/manage.py runserver --settings=pythonie.settings.dev ### Docker Development (preferred) -Uses Task for most operations. Requires docker-compose with services: web, postgres, redis, minio. +Uses Task for most operations. Requires docker-compose with services: web, postgres, redis. ```bash # Build docker image diff --git a/README.md b/README.md index ba51e72..61d2681 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Website for Python Ireland (python.ie / pycon.ie) community, built with Django 6 2. Start supporting services: ```bash - docker compose up -d postgres redis minio + docker compose up -d postgres redis ``` 3. Run database migrations: diff --git a/Taskfile.yaml b/Taskfile.yaml index 9781d74..fa4d31f 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -208,7 +208,7 @@ tasks: stack:pull: desc: Pull the docker images for the stack cmds: - - docker compose pull postgres minio mc redis + - docker compose pull postgres redis stack:services: desc: List the services from the docker compose file diff --git a/docker-compose.yml b/docker-compose.yml index 702d522..c9f8efd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,6 @@ services: command: /usr/bin/fish depends_on: - postgres - - minio - redis env_file: - development.env @@ -30,31 +29,6 @@ services: redis: image: redis:6.2 - minio: - image: quay.io/minio/minio - ports: - - "9000:9000" - - "9001:9001" - command: server --console-address ":9001" /data - environment: - MINIO_ROOT_USER: pythonie - MINIO_ROOT_PASSWORD: pythonie - volumes: - - minio-data:/data - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] - interval: 30s - timeout: 20s - retries: 3 - - mc: - image: quay.io/minio/mc - links: - - minio - volumes: - - ./mc:/root/.mc - - ../s3:/s3 - test: image: python.ie/website-dev environment: @@ -63,6 +37,3 @@ services: - .:/app working_dir: /app command: python pythonie/manage.py test pythonie --verbosity=3 - -volumes: - minio-data: