Skip to content

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.

add OPENAI_API_KEY variable in supabase.yaml

Ibnu Rasikh19a7f6fbbcde
diff --git a/templates/compose/supabase.yaml b/templates/compose/supabase.yaml
index 4b59360e50..cd6af1a2af 100644
--- a/templates/compose/supabase.yaml
+++ b/templates/compose/supabase.yaml
@@ -315,6 +315,7 @@ services:
- NEXT_ANALYTICS_BACKEND_PROVIDER=postgres
# Uncomment to use Big Query backend for analytics
# NEXT_ANALYTICS_BACKEND_PROVIDER=bigquery
+ - 'OPENAI_API_KEY=${OPENAI_API_KEY}'
supabase-db:
image: supabase/postgres:15.1.1.78
healthcheck: