Linora

0901. S3-compatible store for dev, CI and the prod-like stack: Versity S3 Gateway

Status: Accepted (2026-11-28, O1)

Context

Production keeps snapshots in an S3-compatible bucket (ADR 0010, persistence.md). S1’s S3 client (SigV4, no new dependency) needs a real S3 endpoint in dev, in CI (with LINORA_REQUIRE_S3=1, so S3 tests fail instead of skipping) and in docker-compose.prod.yml. The obvious choice, MinIO, is no longer usable: as of 2026-11, minio/minio on Docker Hub refuses every tag (“denied”), and quay.io/minio/minio requires authentication. MinIO stopped publishing community images in late 2025. Only a frozen third-party rebuild (bitnamilegacy/minio:2025.7.23) remains, with known unpatched CVEs.

Decision

Use Versity S3 Gateway (versity/versitygw, Apache-2.0, Go), pinned to v1.11.0, with its posix backend: buckets are directories and objects are files.

Production uses any S3-compatible service (deploy.md). The gateway is a stand-in for dev and test, not a recommendation for production storage.

Alternatives

Consequences