Passing JWT_SECRET and JWT_EXPIRY to postgrest APP_SETTINGS

This commit is contained in:
Ahmed El-Sharnoby authored and Ahmed El-Sharnoby committed 2023-08-29 14:02:10 +03:00
1 parent ade93f06c3
commit 352f652d32
1 file changed
+2
+2
View File
@@ -168,6 +168,8 @@ services:
PGRST_DB_ANON_ROLE: anon
PGRST_JWT_SECRET: ${JWT_SECRET}
PGRST_DB_USE_LEGACY_GUCS: "false"
PGRST_APP_SETTINGS_JWT_SECRET: ${JWT_SECRET}
PGRST_APP_SETTINGS_JWT_EXP: ${JWT_EXPIRY}
realtime:
container_name: realtime-dev.supabase-realtime