STORAGE_TYPE environment variable.
- Local storage
- Supabase storage
Local storage saves uploaded files to the That’s all. ThinkEx creates the
./uploads/ directory on the server running ThinkEx. It has no external dependencies and is the simplest option to operate.When to use it: You’re running a single ThinkEx instance on one machine and want full control over your files without third-party services.Set up local storage:In your .env file, set:./uploads/ directory automatically on first upload. Make sure the directory is writable by the process running ThinkEx, and include it in your backup strategy.If you later migrate to Supabase storage, existing files in
./uploads/ are not automatically moved. You’ll need to upload them to your Supabase bucket manually.Comparison
| Local storage | Supabase storage | |
|---|---|---|
| External dependency | None | Supabase project |
| Max file size | Limited by disk | Up to 200 MB |
| Multi-instance support | No | Yes |
| Setup complexity | Minimal | Moderate |
| Data location | Your server | Supabase cloud |