Files
supabase/apps/reference/docs
Alex Currie-Clark ab794c0857 Note for accessing services across docker containers
I spent a few hours today trying to work out why I couldn't connect to my local Supabase DB from a local Supabase function. It dawned on me that the `SUPABASE_DB_URL` included the `localhost` string, which would attempt to connect to the DB on the same container as the functions are hosted.

Swapping out `localhost` for `host.docker.internal` fixed the issue. Thought it would be worth documenting. Happy to amend or move to a more appropriate place if needs be.
2022-09-30 10:12:44 +01:00
..
2022-08-24 17:49:36 +01:00
2022-09-23 12:45:03 +08:00