From 6592928eb2199bfb6beab6701bab38cec5026d0c Mon Sep 17 00:00:00 2001 From: Vadym Pohlid Date: Thu, 2 Apr 2026 19:17:59 +0300 Subject: [PATCH] fix: default STORAGE_TENANT_ID to storage-single-tenant for backward compatibility Using 'stub' as default would break existing installations that stored files under the default tenantId 'storage-single-tenant' (pre-TENANT_ID era). After upgrading, storage-api would look for files under 'stub/...' prefix instead of 'storage-single-tenant/...', making all existing files inaccessible. --- templates/compose/supabase.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/supabase.yaml b/templates/compose/supabase.yaml index ae3160b53..df637d732 100644 --- a/templates/compose/supabase.yaml +++ b/templates/compose/supabase.yaml @@ -1397,7 +1397,7 @@ services: - POSTGREST_URL=http://supabase-rest:3000 - PGRST_JWT_SECRET=${SERVICE_PASSWORD_JWT} - STORAGE_PUBLIC_URL=${SERVICE_URL_SUPABASEKONG} - - TENANT_ID=${STORAGE_TENANT_ID:-stub} + - TENANT_ID=${STORAGE_TENANT_ID:-storage-single-tenant} volumes: - ./volumes/storage:/var/lib/storage imgproxy: