Self-hosting and deployment
File storage
Where uploads live, the supported object stores, direct uploads, and how to persist local files.
Updated November 21, 2026
Backends#
HeyOrbit picks the first storage backend that's configured, in this order:
- Neon Object Storage (S3-compatible): AWS_ENDPOINT_URL_S3, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION and NEON_STORAGE_BUCKET (default uploads). The bucket needs public reads.
- Cloudflare R2: R2_ACCOUNT_ID, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_BUCKET and R2_PUBLIC_URL (the bucket's public r2.dev URL or your custom domain).
- Vercel Blob: BLOB_READ_WRITE_TOKEN.
- Local disk: public/uploads/{workspaceId}/{id}.{ext}, served by the app at /uploads/….
Use object storage on serverless hosts; their disks don't persist.
Direct uploads#
With Neon Object Storage or R2, the browser uploads straight to the bucket with a presigned URL, and with Vercel Blob through Blob's client upload. Large videos never pass through your server: videos can be up to 2 GB and PDFs 200 MB. On local disk, uploads go through the app and videos are limited to 500 MB (PDFs 100 MB). Images and GIFs are up to 50 MB either way. The upload area shows the active limits (media library).
Local disk#
Mount a volume at /app/public/uploads (the compose file does this) so files survive container restarts.
Platforms fetch from your URL#
When publishing, platforms download media from its public URL: the bucket's URL, or {APP_URL}/uploads/… on local disk. It must be reachable over HTTPS from the internet; a private network or a password-protected proxy in front of it makes publishing fail.
Imports#
Unsplash, Canva, Google Drive, Dropbox, link imports and AI images are all copied into the same storage, so publishing never depends on a third-party link staying valid.
Deleting#
Deleting a file in the media library removes it from storage too. Storage limits (5 GB for each paid account) are counted from file sizes in the library.
Backups#
Back up local uploads together with the database; a restored database with missing files shows broken thumbnails and can't publish the affected posts.