mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix(docker/studio): set SUPABASE_REST_URL
This commit is contained in:
1 parent
93915a818b
commit
b3e491eadf
2 files changed
+10
-4
No files matched your search
+5
-2
@@ -10,8 +10,6 @@ SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZX
|
||||
|
||||
## General
|
||||
SITE_URL=http://localhost:3000
|
||||
KONG_URL=http://kong:8000
|
||||
META_URL=http://meta:8080
|
||||
ADDITIONAL_REDIRECT_URLS=
|
||||
JWT_EXPIRY=3600
|
||||
DISABLE_SIGNUP=false
|
||||
@@ -41,3 +39,8 @@ KONG_HTTPS_PORT=8443
|
||||
|
||||
## DB port
|
||||
POSTGRES_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/
|
||||
@@ -14,8 +14,11 @@ services:
|
||||
ports:
|
||||
- ${STUDIO_PORT}:3000/tcp
|
||||
environment:
|
||||
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}
|
||||
|
||||
|
||||
Reference in new issue
Block a user