Storage Self-hosting Config
A guide from Supabase
Apps on Plentiful run on Supabase's open-source database, sign-in, file storage and live updates, so most of this guide applies. The differences: your app reaches its database through its own server — not Supabase's data API (supabase.from(…)) — there are no Edge Functions (your app's server does that work), and scheduled work uses Jobs. Where it says "Supabase dashboard", use your app's Dashboard. Ask the builder when in doubt.
A sample .env file is located in the storage repository.
Use this file to configure your environment variables for your Storage server.
General
General Settings
Parameters
A long-lived JWT with anonymous Postgres privileges.
A long-lived JWT with Postgres privileges to bypass Row Level Security.
The ID of a Storage tenant.
Region of your S3 bucket.
Name of your S3 bucket.
The URL of your PostgREST server.
A JWT Secret for the PostgREST database.
The URL of your Postgres database.
Additional configuration parameters for Postgres startup.
The maximum file size allowed.
The storage provider.
The location storage when the "STORAGE_BACKEND" is set to "file".
Multi-tenant
Configuration items for multi-tenant servers.
Parameters
Operate across multiple tenants.
The URL of the multitenant Postgres database.
TBD.
The suffix for the PostgREST instance.
Secure API key for administrative endpoints.
An key for encryting/decrypting secrets.