coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
33.27k stars 1.79k forks source link

[Bug]: Supabase edge function is unhealthy because Deno can't respond. #2274

Open samuelteixeiras opened 5 months ago

samuelteixeiras commented 5 months ago

Description

Supabase edge function is unhealthy because Deno can't respond. The error is described here: https://github.com/denoland/deno/issues/14579

Solution: Use https://thingproxy.freeboard.io/fetch/ to proxy deno calls example. https://thingproxy.freeboard.io/fetch/https://deno.land/std@0.131.0/http/server.ts

Minimal Reproduction (if possible, example repository)

Using the template without any changes, using the https://www.hetzner.com/ as VPS provider

Exception or Error

Connection reset by peer (os error 104)

Version

v4.0.0-beta.285

peaklabs-dev commented 2 days ago

I have refactored the Supabase template a lot. Could you please try again if this error still occurs with the following template: https://github.com/coollabsio/coolify/blob/next/templates/compose/supabase.yaml (copy the compose file into the docker compose deploy type)