Closed k-nearest-neighbor closed 1 month ago
I guess that is what it is supposed to be. 'kong' I guess is a hostname that resolves inside the containers. The documentation isn't super clear that you should expect SUPABASE_URL to be set to this when running locally
When using
supabase start
orsupabase functions serve
the SUPABASE_URL env var inside the function which as far as I can tell is managed only by supabase is set to 'http://kong:8000'(Maybe this is intended? I realize kong is supposed to be a gateway -- but when
supabase start
is running,kong
is not resolving)To Reproduce Steps to reproduce the behavior:
SUPABASE_URL
is not set in .env (it shouldn't be afik)supabase start
orsupabase functions serve
console.log('suabaseUrl: ' + Deno.env.get('SUPABASE_URL'))
[Info] supabaseUrl: http://kong:8000
Expected behavior I believe this should be the api url? Like http://127.0.0.1:54321
System information
supabase -v
1.200.3docker -v
Docker version 27.1.1, build 6312585supabase services
command]