buzz icon indicating copy to clipboard operation
buzz copied to clipboard

fix(compose): allow overriding S3 endpoint

Open pollychen-lab opened this issue 4 months ago • 3 comments

Summary

  • Honor BUZZ_S3_ENDPOINT from compose .env, defaulting to bundled MinIO.
  • Honor BUZZ_S3_ADDRESSING_STYLE from .env, defaulting to path for bundled MinIO.
  • Document both variables in the compose example and README.

Fixes #3794

Validation

  • git diff --check
  • docker compose --env-file .env config with .env copied from .env.example renders BUZZ_S3_ENDPOINT: http://minio:9000 and BUZZ_S3_ADDRESSING_STYLE: path.
  • BUZZ_S3_ENDPOINT=https://example.r2.cloudflarestorage.com BUZZ_S3_ADDRESSING_STYLE=virtual docker compose --env-file .env config renders the external endpoint and virtual addressing.

pollychen-lab avatar Jul 31 '26 06:07 pollychen-lab

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

chessing234 avatar Jul 31 '26 08:07 chessing234

s3 endpoint override was overdue. worth a one-line note in .env.example so people know the compose hardcode is gone.

chessing234 avatar Jul 31 '26 10:07 chessing234

@Chessing234 thank you for checking

pollychen-lab avatar Jul 31 '26 20:07 pollychen-lab