Storage Self-hosting Config
General#
General Settings
Parameters
- ANON_KEYREQUIREDno type
A long-lived JWT with anonymous Postgres privileges.
- SERVICE_KEYREQUIREDno type
A long-lived JWT with Postgres privileges to bypass Row Level Security.
- TENANT_IDREQUIREDno type
The ID of a Storage tenant.
- REGIONREQUIREDno type
Region of your S3 bucket.
- GLOBAL_S3_BUCKETREQUIREDno type
Name of your S3 bucket.
- POSTGREST_URLREQUIREDno type
The URL of your PostgREST server.
- PGRST_JWT_SECRETREQUIREDno type
A JWT Secret for the PostgREST database.
- DATABASE_URLREQUIREDno type
The URL of your Postgres database.
- PGOPTIONSREQUIREDno type
Additional configuration parameters for Postgres startup.
- FILE_SIZE_LIMITREQUIREDno type
The maximum file size allowed.
- STORAGE_BACKENDREQUIREDno type
The storage provider.
- FILE_STORAGE_BACKEND_PATHREQUIREDno type
The location storage when the "STORAGE_BACKEND" is set to "file".
Multi-tenant#
Configuration items for multi-tenant servers.
Parameters
- IS_MULTITENANTREQUIREDno type
Operate across multiple tenants.
- MULTITENANT_DATABASE_URLREQUIREDno type
The URL of the multitenant Postgres database.
- X_FORWARDED_HOST_REGEXPREQUIREDno type
TBD.
- POSTGREST_URL_SUFFIXREQUIREDno type
The suffix for the PostgREST instance.
- ADMIN_API_KEYSREQUIREDno type
Secure API key for administrative endpoints.
- ENCRYPTION_KEYREQUIREDno type
An key for encryting/decrypting secrets.