SupabaseS
Supabase2mo ago
Zimzam

s3 uploads (but im local?)

I’m developing a ComfyUI cloud workflow hosted on a RunPod Serverless worker. (just think cloud gpu)
The worker supports automatic uploads to S3-compatible endpoints.

In production, I’ll use a proper cloud bucket, but during development I’m running Supabase locally via supabase start.

Local setup:
API URL: http://127.0.0.1:54321
GraphQL URL: http://127.0.0.1:54321/graphql/v1
S3 Storage URL: http://127.0.0.1:54321/storage/v1/s3
DB URL: postgresql://postgres:postgres@127.0.0.1:54322/postgres
Studio URL: http://127.0.0.1:54323

Issue:
The RunPod worker runs in the cloud, so it obviously cant reach my local Supabase’s S3 endpoint (127.0.0.1:54321).

Goal:
I want to simulate production-like S3 uploads from the RunPod worker while keeping Supabase running locally during development.

Does anybody have any idea how I can do this? I know the easy way would be to just move onto the cloud free tier, but I am not at that stage of project yet - I really just need to test the code for uploading to bucket

I also believe its not as simple as just uploading to an external cloud bucket because im doing things like signed url uploads scoped on users jwt etc
Was this page helpful?