S3 upload: Bypass Discourse local storage

Hello,

We would like our users to upload files (images specifically but hopefully video later), however since we are running Discourse using Docker, there’s no point in Discourse storing the files locally before the files are sent to S3.

Is there anyway we can bypass Discourse’s local storage and just fire the images off to S3 straight away when someone uploads a file?

Thanks,
Amoncadot

No. The upload handling would have to be significantly reworked to go straight to S3.

「いいね!」 5

Hi Andrew,

Great, thanks for your reply!

I would like us to get to direct s3 uploads using some sort of ticket system. The big problem though is that this would only be useful for attachments, it is critical all images go via the app.

For images we always do a bit of magic first, ensuring giant PNGs turn into JPEGS and such.

I don’t see us working on this in the next few months at least.

「いいね!」 3

これは現在アクティブなプロジェクトです。

「いいね!」 2

このトピックは、最後の返信から24時間後に自動的にクローズされました。新しい返信は許可されていません。