Skip to content

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

Passing JWT_SECRET and JWT_EXPIRY to postgrest APP_SETTINGS

Ahmed El-Sharnoby352f652d32b5
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index e51fac0489a..d451f9d46ac 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -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