Configure Relution
Once an S3-compatible object storage backend is ready - whether self-hosted or cloud-based - Relution needs to be configured to use it.
Prerequisites
The following information is needed from the object storage provider:
| Setting | Description |
|---|---|
| Endpoint | The S3 API URL |
| Access Key | Authentication key ID |
| Secret Key | Authentication secret |
| Bucket Name | The storage bucket name |
In the configuration examples below, we will use example values matching our SeaweedFS guide →. If a different backend or provider is used, adjust them accordingly.
Configuration
Choose one of the two options below. Both achieve the same result.
Option A: Using application.yml
Add the following to the application.yml:
relution:
storage:
resourceStorageType: S3
s3:
customEndpoint: http://seaweedfs:8333
accessKey: %YOUR-ACCESS-KEY%
secretKey: %YOUR-SECRET-KEY%
bucketName: relution
Option B: Using Environment Variables
Add these environment variables to the relution service in the compose.yml:
services:
relution:
environment:
RELUTION_STORAGE_RESOURCESTORAGETYPE="S3"
RELUTION_STORAGE_S3_CUSTOMENDPOINT="http://seaweedfs:8333"
RELUTION_STORAGE_S3_ACCESSKEY="%IHR-ACCESS-KEY%"
RELUTION_STORAGE_S3_SECRETKEY="%IHR-SECRET-KEY%"
RELUTION_STORAGE_S3_BUCKETNAME="relution"
Starting the Services
Pull the latest images:
docker compose pullStart or restart the containers:
docker compose up -dRelution will automatically begin migrating content from the
resourcedatabase table to the object storage bucket.
Monitoring Progress
Watch the migration progress in the logs:
docker logs -f relution
Files being created can also be verified by checking the object storage backend (e.g., via the SeaweedFS web UI or the cloud provider’s console).