buzz
buzz copied to clipboard
fix(compose): allow overriding S3 endpoint
Summary
- Honor
BUZZ_S3_ENDPOINTfrom compose.env, defaulting to bundled MinIO. - Honor
BUZZ_S3_ADDRESSING_STYLEfrom.env, defaulting topathfor bundled MinIO. - Document both variables in the compose example and README.
Fixes #3794
Validation
git diff --checkdocker compose --env-file .env configwith.envcopied from.env.examplerendersBUZZ_S3_ENDPOINT: http://minio:9000andBUZZ_S3_ADDRESSING_STYLE: path.BUZZ_S3_ENDPOINT=https://example.r2.cloudflarestorage.com BUZZ_S3_ADDRESSING_STYLE=virtual docker compose --env-file .env configrenders the external endpoint andvirtualaddressing.
looks right for #3794. tiny nit: call out in the readme that path vs virtual still matters for minio vs real s3 so people dont copy the default blindly
s3 endpoint override was overdue. worth a one-line note in .env.example so people know the compose hardcode is gone.
@Chessing234 thank you for checking