From c4bb5b73eb52217c6b5e7c8673af162c830464b1 Mon Sep 17 00:00:00 2001 From: Lenny Date: Thu, 18 Sep 2025 13:58:23 -0400 Subject: [PATCH 1/2] fix: Update signed upload url default expiration to match prod --- internal/start/start.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/start/start.go b/internal/start/start.go index 9b415a6fe..f0fa76e75 100644 --- a/internal/start/start.go +++ b/internal/start/start.go @@ -899,6 +899,7 @@ EOF "S3_PROTOCOL_PREFIX=/storage/v1", "UPLOAD_FILE_SIZE_LIMIT=52428800000", "UPLOAD_FILE_SIZE_LIMIT_STANDARD=5242880000", + "SIGNED_UPLOAD_URL_EXPIRATION_TIME=7200", }, Healthcheck: &container.HealthConfig{ // For some reason, localhost resolves to IPv6 address on GitPod which breaks healthcheck. From 7c9df87be649b4b1387a7c22d5c1aa77eb5e6230 Mon Sep 17 00:00:00 2001 From: Lenny Date: Thu, 25 Sep 2025 17:29:18 -0400 Subject: [PATCH 2/2] revert #4172 which set the env in the wrong container --- internal/db/start/start.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/db/start/start.go b/internal/db/start/start.go index 322406557..7febc9294 100644 --- a/internal/db/start/start.go +++ b/internal/db/start/start.go @@ -317,7 +317,6 @@ func initStorageJob(host string) utils.DockerJob { // TODO: https://github.com/supabase/storage-api/issues/55 "REGION=stub", "GLOBAL_S3_BUCKET=stub", - "SIGNED_UPLOAD_URL_EXPIRATION_TIME=7200", }, Cmd: []string{"node", "dist/scripts/migrate-call.js"}, }