dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

feat: add supbase template

Open songtianlun opened this issue 1 year ago • 3 comments

songtianlun avatar Aug 18 '24 13:08 songtianlun

please to skip ci config.

songtianlun avatar Aug 18 '24 13:08 songtianlun

Wow really thank you @songtianlun appreciated!,

Just a question we need some credentials or something in storage? I tested almost everything and it was working only the storage is the only thing that have troubles, but I don't know if the issue comes from supabase side Screenshot 2024-08-18 at 1 01 19 PM

Siumauricio avatar Aug 18 '24 19:08 Siumauricio

Wow really thank you @songtianlun appreciated!,

Just a question we need some credentials or something in storage? I tested almost everything and it was working only the storage is the only thing that have troubles, but I don't know if the issue comes from supabase side Screenshot 2024-08-18 at 1 01 19 PM

I tried to fix some issues that might cause storage anomalies, and now the container is running, but it seems that there are still some issues with authentication. I don't have time during the week, and I will try to fix the problem some other time.

songtianlun avatar Aug 19 '24 10:08 songtianlun

Wow really thank you @songtianlun appreciated!,

Just a question we need some credentials or something in storage? I tested almost everything and it was working only the storage is the only thing that have troubles, but I don't know if the issue comes from supabase side Screenshot 2024-08-18 at 1 01 19 PM

i think is ok. supabase need generate some new JWT by secret

https://supabase.com/docs/guides/self-hosting/docker#generate-api-keys

songtianlun avatar Aug 23 '24 16:08 songtianlun

图片

it is ok in my vps

songtianlun avatar Aug 23 '24 16:08 songtianlun

I am new to Dokploy and this is my first time using it to deploy Supabase. Could you please tell me why my URL is showing a 404 error? Deploying other projects works fine. Thank you for your help.

image http://chatgpt-supabase-a426f2-4b944f-104-168-112-236.traefik.me/

ice45571 avatar Aug 29 '24 11:08 ice45571

I am new to Dokploy and this is my first time using it to deploy Supabase. Could you please tell me why my URL is showing a 404 error? Deploying other projects works fine. Thank you for your help.

image http://chatgpt-supabase-a426f2-4b944f-104-168-112-236.traefik.me/

wait a minutes or deploy again.

songtianlun avatar Aug 29 '24 16:08 songtianlun

I am new to Dokploy and this is my first time using it to deploy Supabase. Could you please tell me why my URL is showing a 404 error? Deploying other projects works fine. Thank you for your help. image http://chatgpt-supabase-a426f2-4b944f-104-168-112-236.traefik.me/

wait a minutes or deploy again.

Thanks, clicking on the 'Domains' tab under 'General' solved my issue.

ice45571 avatar Aug 30 '24 13:08 ice45571

+1

I thought it would work right out of the box, but I get the message: 404 Page Not Found when I try to access the domain

dxqwww avatar Sep 01 '24 01:09 dxqwww

@songtianlun Hi. Have you ever tried uploading to supabase storage? My storage is working properly and can list buckets that have been created. But uploading files is not. It looks like this API has an error /storage/v1/upload/resumable

baotr-hippo avatar Sep 02 '24 12:09 baotr-hippo

@songtianlun Hi. Have you ever tried uploading to supabase storage? My storage is working properly and can list buckets that have been created. But uploading files is not. It looks like this API has an error /storage/v1/upload/resumable

Hi @songtianlun , I’m getting the same error. It looks like an issue with the authentication. I would really appreciate it if you could take a look.

adrianbruegger avatar Sep 04 '24 20:09 adrianbruegger

@songtianlun Hi. Have you ever tried uploading to supabase storage? My storage is working properly and can list buckets that have been created. But uploading files is not. It looks like this API has an error /storage/v1/upload/resumable

Hi @songtianlun , I’m getting the same error. It looks like an issue with the authentication. I would really appreciate it if you could take a look.

The problem seems related to Traefik or the SSL certificate. Upload requests via the dashboard, it will send a request to the domain of the traefik that does not have an SSL certificate. Using the Supabase SDK should solve this since it uses your Supabase URL. The JavaScript SDK works well for my custom domain.

baotr-hippo avatar Sep 05 '24 05:09 baotr-hippo

image

please help, always facing this issue

agusibrahim avatar Sep 09 '24 11:09 agusibrahim

image

please help, always facing this issue

please to check docker log.

songtianlun avatar Sep 10 '24 03:09 songtianlun

image please help, always facing this issue

please to check docker log.

done by prune images and re-deploy

agusibrahim avatar Sep 12 '24 01:09 agusibrahim

so, the big issues are for multiple instance: we can't have duplicate names of containers, but if we do change realtime's container name on a second instance we then break it.

znowfox avatar Sep 12 '24 04:09 znowfox

so hostname: realtime-dev.supabase-realtime added to realtime lets it work regardless of container name

and something like image allows for dynamic container names, should be enough to host any amounts of supabase services

znowfox avatar Sep 12 '24 04:09 znowfox