From dddb3fea8b5b6f80dc2d27025442cb3de0b14a8d Mon Sep 17 00:00:00 2001 From: Qiao Han Date: Thu, 9 Nov 2023 14:56:57 +0800 Subject: [PATCH] fix(studio): update studio api to proxy pgmeta query --- internal/start/start.go | 2 ++ internal/utils/misc.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/start/start.go b/internal/start/start.go index e7f2dddfe..6d3febdaa 100644 --- a/internal/start/start.go +++ b/internal/start/start.go @@ -816,6 +816,8 @@ EOF fmt.Sprintf("LOGFLARE_URL=http://%v:4000", utils.LogflareId), fmt.Sprintf("NEXT_PUBLIC_ENABLE_LOGS=%v", utils.Config.Analytics.Enabled), fmt.Sprintf("NEXT_ANALYTICS_BACKEND_PROVIDER=%v", utils.Config.Analytics.Backend), + // Ref: https://github.com/vercel/next.js/issues/51684#issuecomment-1612834913 + "HOSTNAME=0.0.0.0", }, Healthcheck: &container.HealthConfig{ Test: []string{"CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"}, diff --git a/internal/utils/misc.go b/internal/utils/misc.go index d82092ce7..3dad8fc22 100644 --- a/internal/utils/misc.go +++ b/internal/utils/misc.go @@ -31,7 +31,7 @@ const ( DifferImage = "supabase/pgadmin-schema-diff:cli-0.0.5" MigraImage = "djrobstep/migra:3.0.1621480950" PgmetaImage = "supabase/postgres-meta:v0.68.0" - StudioImage = "supabase/studio:20231023-7e2cd92" + StudioImage = "supabase/studio:20231109-b9016a3" ImageProxyImage = "darthsim/imgproxy:v3.8.0" EdgeRuntimeImage = "supabase/edge-runtime:v1.22.4" VectorImage = "timberio/vector:0.28.1-alpine"