Files
supabase/apps/reference/docs/guides
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-09-28 23:28:18 +10:00
2022-09-21 17:16:33 -07:00
2022-09-08 17:30:29 -07:00
2022-08-13 22:24:54 +08:00
2022-08-15 18:22:44 -07:00
2022-08-18 20:43:21 -07:00
2022-08-13 22:24:54 +08:00
2022-08-27 22:11:02 +00:00
2022-08-16 15:19:20 -07:00
2022-08-13 22:24:54 +08:00
2022-08-13 22:24:54 +08:00
2022-08-13 22:24:54 +08:00