- JavaScript
- Flutter
- Community Python
- Community C#Tools
- Management API
- Supabase CLI
- GeneralTestingGenerate TypesDatabaseMigrationsProjectsOrganizationsEdge FunctionsSecretsCustom DomainsVanity SubdomainsNetwork BansNetwork RestrictionsAutocompletion Scripts
Storage Configuration
A sample .env
file is located in the storage repository.
Use this file to configure your environment variables for your Storage server.
general Settings
$ANON_KEY
A long-lived JWT with anonymous Postgres privileges.
true
None
$SERVICE_KEY
A long-lived JWT with Postgres privileges to bypass Row Level Security.
true
None
$TENANT_ID
The ID of a Storage tenant.
true
None
$REGION
Region of your S3 bucket.
true
None
$GLOBAL_S3_BUCKET
Name of your S3 bucket.
true
None
$POSTGREST_URL
The URL of your PostgREST server.
true
None
$PGRST_JWT_SECRET
A JWT Secret for the PostgREST database.
true
None
$DATABASE_URL
The URL of your Postgres database.
true
None
$PGOPTIONS
Additional configuration parameters for Postgres startup.
true
None
$FILE_SIZE_LIMIT
The maximum file size allowed.
true
None
$STORAGE_BACKEND
The storage provider.
true
None
$FILE_STORAGE_BACKEND_PATH
The location storage when the "STORAGE_BACKEND" is set to "file".
true
None
multitenant Settings
$IS_MULTITENANT
Operate across multiple tenants.
true
None
$MULTITENANT_DATABASE_URL
The URL of the multitenant Postgres database.
true
None
$X_FORWARDED_HOST_REGEXP
TBD.
true
None
$POSTGREST_URL_SUFFIX
The suffix for the PostgREST instance.
true
None
$ADMIN_API_KEYS
Secure API key for administrative endpoints.
true
None
$ENCRYPTION_KEY
An key for encryting/decrypting secrets.
true
None
Need some help?
Not to worry, our specialist engineers are here to help. Submit a support ticket through the Dashboard.