Storage Settings
Menu path: Admin -> Settings -> Storage Settings
Route: /admin/settings/storage
Use this page to choose where uploaded files are stored.
Storage modes
Local Storage: store files on the same serverAWS / MinIO / RustFS: store files on S3-compatible storage
Field guide
| Field | What it means | What to enter |
|---|---|---|
File Disk | Main storage type | Use Local Storage for simple setups or s3 for external object storage |
Access Key ID | S3 access key | Enter the key from AWS, MinIO, RustFS, or your compatible service |
Secret Access Key | S3 secret key | Enter the matching private key |
Region | Storage region | Example: us-east-1 |
Bucket | Container name for uploaded files | Use the exact bucket name |
Path Style Endpoint | URL style for the bucket | Enable this if your provider requires endpoint/bucket format |
Endpoint | Custom storage server URL | Use this for MinIO, RustFS, or custom S3-compatible services |
Important note
This page updates environment storage values from the admin panel.
When to use local storage
Use local storage if:
- you are running one server
- file uploads stay on the same machine
- you want the simplest setup
If you use local storage, also make sure php artisan storage:link is done after installation.
When to use S3-compatible storage
Use S3-compatible storage if:
- you want external file storage
- you use more than one application server
- you want easier file scaling or CDN support
For live production, this is the recommended storage type.
Recommended providers:
AWS S3for a managed commercial optionMinIOfor a free self-hosted optionRustFSfor an S3-compatible alternative
If you use MinIO or RustFS, the simplest production setup is a public bucket for RoboExchanger uploads.
Common mistakes
- choosing
s3without filling the bucket details - using the wrong endpoint for MinIO or RustFS
- using the wrong path-style setting
- using a private MinIO or RustFS bucket while expecting direct public file URLs
- forgetting to test real uploads after saving
Best practice
- Use
publicfor simple single-server setups. - Use
s3for the best production setup. - Use AWS S3, MinIO, or RustFS for scalable object storage.
- If you use MinIO or RustFS, make the bucket public and confirm the endpoint and path-style settings are correct.
- For the best full production stack, also read Performance & Optimization.