Scaleway の S3 互換オブジェクトストレージの利用

Turns out most clones are broken in one way or another. For example, the Digital Ocean S3 Clone forgets the file Mime Type, so our brotli compressed JS is served as plain text and it breaks Discourse completely. So there is no big howto guides, because the experience was awful as a few months ago and everything is changing very rapidly.

I plan on doing a complete check on the ScaleWay offering next week, and write a howto if it works.

「いいね!」 7

:+1:
このドキュメントを読むのが待ちきれません :slight_smile:

「いいね!」 1

私としても非常に興味があります。Rails と ActiveStorage で動作するように試みましたが、うまくいきませんでした。

ガイドを公開する前に、以下の PR が保留中です。

MinIO を裏側で利用している Digital Ocean のような S3 クローンほぼすべてに、この変更が必要になると想定しています。

「いいね!」 4

ガイドはこちらで公開されています:Configure an S3 compatible object storage provider for uploads

「いいね!」 6

これにより私の環境では動作しました(ありがとうございます!)。単純に s3_endpoint を設定するだけでは機能しませんでした。

言うまでもなく、まだ不具合は残っており、エンドポイントを設定するだけでは明らかに不十分です(S3 との統合においてはこれは常識です)。

適切な修正としては、UI にハードコードされている Amazon の値を超えて、リージョンをカスタマイズできるようにすることです。
また、バケットにパスを使用するオプションが不足しており、これはカスタム S3 統合にとって有用な機能です。

Scaleway でサポートされる構成については、Configure an S3 compatible object storage provider for uploads をご覧ください。

「いいね!」 1