Update docker-compose.yml

use PGRST_DB_SCHEMAS env variable for exposing schemas to realtime
This commit is contained in:
rotemrevivo91 authored and GitHub committed 2022-02-01 12:32:33 +01:00
1 parent dbeb57edf1
commit 3d4fa8acd1
1 file changed
+1 -1
+1 -1
View File
@@ -80,7 +80,7 @@ services:
restart: unless-stopped
environment:
PGRST_DB_URI: postgres://postgres:${POSTGRES_PASSWORD}@db:5432/postgres
PGRST_DB_SCHEMAS: public,storage
PGRST_DB_SCHEMAS: ${PGRST_DB_SCHEMAS}
PGRST_DB_ANON_ROLE: anon
PGRST_JWT_SECRET: ${JWT_SECRET}
PGRST_DB_USE_LEGACY_GUCS: "false"