Update Supabase template to use any S3-Provider for Object Storage #2038
actraiser
started this conversation in
Service Template Requests
Replies: 1 comment 2 replies
|
@actraiser Would you be able to supply a little tutorial here on how to edit the Dockerfile while we wait for a change? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The current Supabase template preconfigures MINIO as S3-Object-Storage but in regards to static files, I believe it would be beneficial to easily configure any S3 Provider. For that to work, one must right now edit the docker-compose file directly.
To make it easier to use an external S3-Provider, the following env variables have to be exposed:
STORAGE_S3_BUCKET (default: stub)
STORAGE_S3_REGION (default: us-east-1)
STORAGE_S3_ENDPOINT (default: http://supabase-minio:9000)
Also, for clarifying that the provided Minio-Service is the out-of-the-box solution to self-host objects, but that actually any S3-Provider would work, the env variables SERVICE_USER_MINIO and SERVICE_PASSWORD_MINIO could be renamed to STORAGE_S3_ACCESS_KEY_ID and STORAGE_S3_SECRET_ACCESS_KEY
Greets
-act
All reactions