[GH-ISSUE #205] Support file storage instead of storing in the database #63

Closed
opened 2026-02-26 18:45:11 +03:00 by kerem · 3 comments
Owner

Originally created by @jwthanh on GitHub (Jun 12, 2023).
Original GitHub issue: https://github.com/documenso/documenso/issues/205

@Mythie Do we plan to support file storage (e.g., AWS S3,...) instead of storing in the database?

Originally created by @jwthanh on GitHub (Jun 12, 2023). Original GitHub issue: https://github.com/documenso/documenso/issues/205 @Mythie Do we plan to support file storage (e.g., AWS S3,...) instead of storing in the database?
kerem closed this issue 2026-02-26 18:45:11 +03:00
Author
Owner

@AliMejbar commented on GitHub (Jun 14, 2023):

That would be great, even better would be to consider Cloudflare R2 because of free egress.

<!-- gh-comment-id:1591714604 --> @AliMejbar commented on GitHub (Jun 14, 2023): That would be great, even better would be to consider Cloudflare R2 because of free egress.
Author
Owner

@Mythie commented on GitHub (Jun 17, 2023):

Yep so I'd like to support S3 compatible providers for file storage and while also moving our current document storage to use native postgres Blob's on a separate table to avoid TOAST'ing* which will affect query performance in the future as a larger number of documents are stored.

By aiming for S3 compatibility we can include things like R2, S3, Azure Blob, Digital Ocean Spaces, Backblaze and more.

<!-- gh-comment-id:1595590069 --> @Mythie commented on GitHub (Jun 17, 2023): Yep so I'd like to support S3 compatible providers for file storage and while also moving our current document storage to use native postgres `Blob`'s on a separate table to avoid TOAST'ing* which will affect query performance in the future as a larger number of documents are stored. By aiming for S3 compatibility we can include things like R2, S3, Azure Blob, Digital Ocean Spaces, Backblaze and more. * https://www.postgresql.org/docs/current/storage-toast.html
Author
Owner

@Mythie commented on GitHub (Nov 3, 2023):

S3 support has been added as part of our universal-upload feature so I'm happy to close this off as complete for now.

We're using S3 successfully in production to achieve encryption at rest with presigned urls being used to restrict access.

<!-- gh-comment-id:1791892886 --> @Mythie commented on GitHub (Nov 3, 2023): S3 support has been added as part of our `universal-upload` feature so I'm happy to close this off as complete for now. We're using S3 successfully in production to achieve encryption at rest with presigned urls being used to restrict access.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#63
No description provided.