You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2026. It is now read-only.
Describe the bug
Local edge functions run on docker inside a container called supabase_deno_relay which auto-sets the SUPABASE_URL. However, it uses the internal URL of the container network. This causes issues with the JS clients that run inside edge functions with storage since it creates the download and signed URLs using the internal http://supabase_kong_hyperion-app:8000 instead of the usual exposed localhost:54321api endpoint.
To Reproduce
Steps to reproduce the behavior:
Run edge functions with serve cli command
Generate a download link using the JS client inside an edge function
Try to access the download link (will be in this format: http://supabase_kong_app:8000/storage/v1/object/public/public/users/ce5b2b2f-cfdc-4f56-a886-488dba35a184/file.txt) instead of using localhost:54321
Expected behavior
The download link generated is accessible locally using localhost:54321
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
Local edge functions run on docker inside a container called
supabase_deno_relaywhich auto-sets the SUPABASE_URL. However, it uses the internal URL of the container network. This causes issues with the JS clients that run inside edge functions with storage since it creates the download and signed URLs using the internalhttp://supabase_kong_hyperion-app:8000instead of the usual exposedlocalhost:54321api endpoint.To Reproduce
Steps to reproduce the behavior:
servecli commandhttp://supabase_kong_app:8000/storage/v1/object/public/public/users/ce5b2b2f-cfdc-4f56-a886-488dba35a184/file.txt) instead of usinglocalhost:54321Expected behavior
The download link generated is accessible locally using
localhost:54321Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):