Media uploads

Fixes #50 (closed)

Enables media uploads via IPFS and S3. User can specify DITTO_UPLOADER='ipfs' or DITTO_UPLOADER='s3'

With the IPFS uploader, IPFS just needs to be installed locally on the machine. You would also proxy_pass media.yoursite.tld to the IPFS gateway on port 8080.

If you choose the S3 uploader, it will still generate an IPFS cid for your files and host them at /ipfs/<cid> for future upgrade capabilities and to benefit from IPFS features.

Orphaned attachments are automatically cleaned up after 15 minutes unless they are submitted with an event.

Edited by Alex Gleason

Merge request reports

Loading