From ce949dcc8ff54592b1507278eb211ced41d03f09 Mon Sep 17 00:00:00 2001 From: jigoong Date: Fri, 6 Mar 2026 17:37:47 +0700 Subject: [PATCH] add supavisor config --- 02-supabase/docker-compose.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/02-supabase/docker-compose.yml b/02-supabase/docker-compose.yml index 30498d2..1300e7c 100644 --- a/02-supabase/docker-compose.yml +++ b/02-supabase/docker-compose.yml @@ -40,6 +40,7 @@ services: LOGFLARE_URL: http://sdp-analytics:4000 NEXT_PUBLIC_ENABLE_LOGS: true NEXT_ANALYTICS_BACKEND_PROVIDER: postgres + SNIPPETS_MANAGEMENT_FOLDER: "/app/snippets" volumes: - ./volumes/snippets:/app/snippets:Z - ./volumes/functions:/app/supabase/functions:Z @@ -433,12 +434,16 @@ services: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} ## ecto DATABASE_URL: postgresql://supabase_admin:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/_supabase - POOLER_TENANT_ID: ${POOLER_TENANT_ID} # MUST BE ADDED + POOLER_TENANT_ID: ${POOLER_TENANT_ID:-sriphat} CLUSTER_POSTGRES: true SECRET_KEY_BASE: ${SECRET_KEY_BASE} VAULT_ENC_KEY: ${VAULT_ENC_KEY} API_JWT_SECRET: ${JWT_SECRET} METRICS_JWT_SECRET: ${JWT_SECRET} + # Ensure these are also mapped if they are in your .env + POOLER_DEFAULT_POOL_SIZE: ${POOLER_DEFAULT_POOL_SIZE} + POOLER_MAX_CLIENT_CONN: ${POOLER_MAX_CLIENT_CONN} + POOLER_DB_POOL_SIZE: ${POOLER_DB_POOL_SIZE} networks: - shared_data_network