An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Use db name parameter for jwt sql
Manuelbd81cc1cc49b
diff --git a/templates/compose/supabase.yaml b/templates/compose/supabase.yamlindex 68d42e971e..9065336c66 100644--- a/templates/compose/supabase.yaml+++ b/templates/compose/supabase.yaml@@ -559,9 +559,10 @@ services:content: |\set jwt_secret `echo "$JWT_SECRET"`\set jwt_exp `echo "$JWT_EXP"`+ \set db_name `echo "${POSTGRES_DB:-postgres}"`- ALTER DATABASE postgres SET "app.settings.jwt_secret" TO :'jwt_secret';- ALTER DATABASE postgres SET "app.settings.jwt_exp" TO :'jwt_exp';+ ALTER DATABASE :'db_name' SET "app.settings.jwt_secret" TO :'jwt_secret';+ ALTER DATABASE :'db_name' SET "app.settings.jwt_exp" TO :'jwt_exp';- type: bindsource: ./volumes/db/logs.sql