Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: binds studio listener to both ipv4 and ipv6 (#39383)

Han Qiao764eb8760c01
diff --git a/docker/.env.example b/docker/.env.example
index 63f2b2702a5..34ceb7bf993 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -95,7 +95,6 @@ ENABLE_PHONE_AUTOCONFIRM=true
STUDIO_DEFAULT_ORGANIZATION=Default Organization
STUDIO_DEFAULT_PROJECT=Default Project
-STUDIO_PORT=3000
# replace if you intend to use Studio outside of localhost
SUPABASE_PUBLIC_URL=http://localhost:8000
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 14f7c39f585..9f484246be6 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -28,6 +28,9 @@ services:
analytics:
condition: service_healthy
environment:
+ # Binds nestjs listener to both IPv4 and IPv6 network interfaces
+ HOSTNAME: "::"
+
STUDIO_PG_META_URL: http://meta:8080
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PG_META_CRYPTO_KEY: ${PG_META_CRYPTO_KEY}