Storage
Configuration
Learn how to configure storage in TurboStarter.
Currently, TurboStarter supports all S3-compatible storage providers, including AWS S3, DigitalOcean Spaces, Cloudflare R2, and Supabase Storage.
The setup process is straightforward - you just need to configure a few environment variables in both your local environment and hosting provider:
Let's break down each required variable:
S3_REGION
: The AWS region where your storage is locatedS3_ENDPOINT
: The S3 endpoint URL for your storage providerS3_ACCESS_KEY_ID
: Your storage provider's access key IDS3_SECRET_ACCESS_KEY
: Your storage provider's secret access key
You can learn more about S3 service configuration in the official AWS documentation or your specific storage provider's documentation.
If you're using a local Supabase instance for development, these variables will be automatically populated. You can find them in the output logs when starting your Supabase containers.
Last updated on