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
update supabase template
Darren Sisson4bfd76a70ce9
diff --git a/templates/compose/supabase.yaml b/templates/compose/supabase.yamlindex cd6af1a2af..8ef1dad7b6 100644--- a/templates/compose/supabase.yaml+++ b/templates/compose/supabase.yaml@@ -15,6 +15,7 @@ services:condition: service_healthyenvironment:- SERVICE_FQDN_SUPABASEKONG_8000+ - 'KONG_PORT_MAPS=443:8000'- JWT_SECRET=${SERVICE_PASSWORD_JWT}- KONG_DATABASE=off- KONG_DECLARATIVE_CONFIG=/home/kong/kong.yml@@ -278,7 +279,7 @@ services:config:hide_credentials: truesupabase-studio:- image: supabase/studio:20240923-2e3e90c+ image: supabase/studio:20241202-71e5240healthcheck:test:[@@ -317,7 +318,7 @@ services:# NEXT_ANALYTICS_BACKEND_PROVIDER=bigquery- 'OPENAI_API_KEY=${OPENAI_API_KEY}'supabase-db:- image: supabase/postgres:15.1.1.78+ image: supabase/postgres:15.6.1.146healthcheck:test: pg_isready -U postgres -h 127.0.0.1interval: 5s@@ -367,6 +368,7 @@ services:\c _supabasecreate schema if not exists _supavisor;alter schema _supavisor owner to :pguser;+ \c postgres- type: bindsource: ./volumes/db/webhooks.sqltarget: /docker-entrypoint-initdb.d/init-scripts/98-webhooks.sql@@ -610,6 +612,7 @@ services:\c _supabasecreate schema if not exists _analytics;alter schema _analytics owner to :pguser;+ \c postgres# Use named volume to persist pgsodium decryption key between restarts- supabase-db-config:/etc/postgresql-custom@@ -928,7 +931,7 @@ services:command: "postgrest"exclude_from_hc: truesupabase-auth:- image: supabase/gotrue:v2.158.1+ image: supabase/gotrue:v2.164.0depends_on:supabase-db:# Disable this if you are using an external Postgres database@@ -1019,7 +1022,7 @@ services:realtime-dev:# This container name looks inconsistent but is correct because realtime constructs tenant id by parsing the subdomain- image: supabase/realtime:v2.30.34+ image: supabase/realtime:v2.33.70container_name: realtime-dev.supabase-realtimedepends_on:supabase-db:@@ -1062,6 +1065,9 @@ services:- RLIMIT_NOFILE=10000- APP_NAME=realtime- SEED_SELF_HOST=true+ - LOG_LEVEL=error+ - RUN_JANITOR=true+ - JANITOR_INTERVAL=60000command: >sh -c "/app/bin/migrate && /app/bin/realtime eval 'Realtime.Release.seeds(Realtime.Repo)' && /app/bin/server"supabase-minio:@@ -1099,7 +1105,7 @@ services:exit 0supabase-storage:- image: supabase/storage-api:v1.10.1+ image: supabase/storage-api:v1.14.6depends_on:supabase-db:# Disable this if you are using an external Postgres database@@ -1138,12 +1144,14 @@ services:- UPLOAD_FILE_SIZE_LIMIT=524288000- UPLOAD_FILE_SIZE_LIMIT_STANDARD=524288000- UPLOAD_SIGNED_URL_EXPIRATION_TIME=120- - TUS_URL_PATH=/upload/resumable+ - TUS_URL_PATH=upload/resumable- TUS_MAX_SIZE=3600000- ENABLE_IMAGE_TRANSFORMATION=true- IMGPROXY_URL=http://imgproxy:8080- IMGPROXY_REQUEST_TIMEOUT=15- DATABASE_SEARCH_PATH=storage+ - NODE_ENV=production+ - REQUEST_ALLOW_X_FORWARDED_PATH=true# - ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICJyb2xlIjogImFub24iLAogICJpc3MiOiAic3VwYWJhc2UiLAogICJpYXQiOiAxNzA4OTg4NDAwLAogICJleHAiOiAxODY2ODQxMjAwCn0.jCDqsoXGT58JnAjf27KOowNQsokkk0aR7rdbGG18P-8# - SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ewogICJyb2xlIjogInNlcnZpY2Vfcm9sZSIsCiAgImlzcyI6ICJzdXBhYmFzZSIsCiAgImlhdCI6IDE3MDg5ODg0MDAsCiAgImV4cCI6IDE4NjY4NDEyMDAKfQ.GA7yF2BmqTzqGkP_oqDdJAQVt0djjIxGYuhE0zFDJV4@@ -1183,7 +1191,7 @@ services:- ./volumes/storage:/var/lib/storagesupabase-meta:- image: supabase/postgres-meta:v0.83.2+ image: supabase/postgres-meta:v0.84.2depends_on:supabase-db:# Disable this if you are using an external Postgres database@@ -1199,7 +1207,7 @@ services:- PG_META_DB_PASSWORD=${SERVICE_PASSWORD_POSTGRES}supabase-edge-functions:- image: supabase/edge-runtime:v1.58.3+ image: supabase/edge-runtime:v1.65.3depends_on:supabase-analytics:condition: service_healthy