The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docker/studio): set SUPABASE_REST_URL
Bobbie Soedirgob3e491eadf4d
diff --git a/docker/.env.example b/docker/.env.exampleindex 31c390e7c61..37e4b9a21d0 100644--- a/docker/.env.example+++ b/docker/.env.example@@ -10,8 +10,6 @@ SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZX## GeneralSITE_URL=http://localhost:3000-KONG_URL=http://kong:8000-META_URL=http://meta:8080ADDITIONAL_REDIRECT_URLS=JWT_EXPIRY=3600DISABLE_SIGNUP=false@@ -41,3 +39,8 @@ KONG_HTTPS_PORT=8443## DB portPOSTGRES_PORT=5432++# Studio++## Public REST endpoint - replace this if you intend to use Studio outside of localhost+PUBLIC_REST_URL=http://localhost:8000/rest/v1/diff --git a/docker/docker-compose.yml b/docker/docker-compose.ymlindex e8879568c3c..14dab56307e 100644--- a/docker/docker-compose.yml+++ b/docker/docker-compose.yml@@ -14,8 +14,11 @@ services:ports:- ${STUDIO_PORT}:3000/tcpenvironment:- SUPABASE_URL: ${KONG_URL}- STUDIO_PG_META_URL: ${META_URL}+ STUDIO_PG_META_URL: http://meta:8080+ POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}++ SUPABASE_URL: http://kong:8000+ SUPABASE_REST_URL: ${PUBLIC_REST_URL}SUPABASE_ANON_KEY: ${ANON_KEY}SUPABASE_SERVICE_KEY: ${SERVICE_ROLE_KEY}