SupabaseS
Supabase6mo ago
Seph

Supabase uses remote Storage Bucket instead of local

supabase cli: 2.26.9
os: Ubuntu 24.04


Hello, I am setting up my local development environment with Supabase.

It appears that I might be getting the files from my remote supabase not in the local.

Although logging the query does show that it does refer to the local instance
[
  {
    id: '0746c807-320b-49c8-93d8-458dfb704d0d',
    filename: '01_PASS.json',
    fileUrl: 'http://localhost:54321/storage/v1/object/sign/henyo-admin/question-files/d6f3d110-d446-43e3-81bb-e608521c711d/01_PASS.json?token=eyJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJoZW55by1hZG1pbi9xdWVzdGlvbi1maWxlcy9kNmYzZDExMC1kNDQ2LTQzZTMtODFiYi1lNjA4NTIxYzcxMWQvMDFfUEFTUy5qc29uIiwiaWF0IjoxNzUxMTI1NDA0LCJleHAiOjE3NTExMjkwMDR9.QkdHvRO01OJm09HOb_AgOjom65-TcUNhrQFCDrXBAMM',
    uploadedAt: 2025-06-25T17:16:48.734Z
  }
]


However, when I look at the bucket in the UI, it doesn't show any records.
[ see attached image below ]

I can confirm that I am accessing the local instance of supabase.
.env.local
DATABASE_URL=postgresql://postgres:postgres@localhost:54322/postgres


Do I need to setup anything? Or perhaps is it because I linked my remote instance and that it supersedes the storage bucket?

Do I need to do any additional configuration in
config.toml
for local storage to work? Is it supposed to work by default?
Was this page helpful?