New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat]: Add Supabase as S3 provider for Coolify #2114
Comments
Isn't it working? I tried using R2 Storage using S3 by changing endpoint when adding storage details and it's working without any issues. If I'm not wrong supabase is compatible with S3 Client. So it should work. Also when I looked into supabase docs I found that it's not fully implemented but some commonly used endpoints will work. Reference: |
According to Coolify's S3 docs, R2 is supported but in the list of compatible S3 providers, there's no supabase S3. I tried linking Supabase's S3 bucket but there seems to be an issue with how the URI is built from the S3 details provided to coolify. |
Can you share endpoint URL (hiding your project reference from URL). Maybe the Issue is with the endpoint you are providing. As per the doc it should work. I just checked that my region is auto (In coolify S3 Settings) when connecting with R2. Can you also try that in supabase endpoint. And yes it's duplicating the URL string. Make sure you add endpoint as https://[project-ref].supabase.co This should work. |
Removing |
Can you share screenshot of error after removing Here's my setting for R2 (Can't say about supabase) Endpoint - https://[account-id].r2.cloudflarestorage.com |
Sorry if i didn't mention that earlier. I have my R2 setup successful but that's not the case with supabase. |
I tried supabase. There's actually a bug in coolify which is appending anything after slash two times. Maybe this issue is with underlying S3 Client library in coolify. |
Anyways, i find R2 much better for my current usecase |
Ok. But still let keep this issue open if anyone wants to use supabase or any other service where endpoint has path included in URL |
i might as well contributed and fixed it it was written in js. looks like it's implemented in PHP :) |
Same here. I tried checking the code it's using "flysystem-aws-s3-v3" library. Checked the code where it's concatenating the endpoint with bucket. Couldn't find more as I don't know how PHP with Laravel actually works. I just assumed it's issue with the library. |
Out of curiosity, how do you configure a Supabase S3 Storage in the UI? I use R2 with Supabase but what I did is to hardcode the R2-Endpoint, Bucket and Region in the docker-compose.yml under the supabase-storage-service and changing Minio User/Password in the Coolify UI to reflect the credentials on R2.
Is there a simpler way using the Coolify or Supabase UI directly? Greets |
You can add an S3 bucket in |
We were trying to add S3 as a db backup location to coolify. R2 works but supabase's hosted/managed S3 (not the selfhosted one) is having some issues. |
As per document I think supabase is not tested and is not supported. |
Objectives:
/storages
route in coolify dashboardThe text was updated successfully, but these errors were encountered: