Skip to content

feat: Make MinIO object storage optional (#156)#161

Open
alexhambley wants to merge 1 commit into
developfrom
feature/optional-minio-156
Open

feat: Make MinIO object storage optional (#156)#161
alexhambley wants to merge 1 commit into
developfrom
feature/optional-minio-156

Conversation

@alexhambley

Copy link
Copy Markdown
Contributor

Closes #156

Makes MinIO an opt-in and disabled by default, via a MINIO_ENABLED setting. When disabled the service stores nothing and only the stateless validation endpoint is exposed (the ID endpoints are not registered)

  • config: add get_bool_env helper and MINIO_ENABLED (default False)
  • routes: split the POST blueprint so /validate_metadata is always available; register the ID-based POST/GET routes only when MINIO_ENABLED is true
  • compose: move the minio service behind a minio profile and drop it from depends_on; MINIO_ENABLED into the flask/celery services
  • docs/env: document MINIO_ENABLED and the --profile minio workflow
  • tests: cover enabled and disabled modes; integration tests now starts the minio profile with MINIO_ENABLED=true
  • plus some pylance linting shenanigans

Makes MinIO an opt-in and disabled by default, via a MINIO_ENABLED setting. When disabled the service stores nothing and only the stateless validation endpoint is exposed (the ID endpoints are not registered)

- config: add get_bool_env helper and MINIO_ENABLED (default False)
- routes: split the POST blueprint so /validate_metadata is always available; register the ID-based POST/GET routes only when MINIO_ENABLED is true
- compose: move the minio service behind a `minio` profile and drop it from depends_on; MINIO_ENABLED into the flask/celery services
- docs/env: document MINIO_ENABLED and the --profile minio workflow
- tests: cover enabled and disabled modes; integration tests now starts the minio profile with MINIO_ENABLED=true
@alexhambley alexhambley requested a review from douglowe June 3, 2026 13:16
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.

Make MinIO storage optional

1 participant