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
fix(service): disable kong response buffering and increase timeouts (#7864)
Vadko21e61b008c9c
diff --git a/templates/compose/supabase.yaml b/templates/compose/supabase.yamlindex 81a6f5fa31..fad059a082 100644--- a/templates/compose/supabase.yaml+++ b/templates/compose/supabase.yaml@@ -29,6 +29,11 @@ services:- SUPABASE_SERVICE_KEY=${SERVICE_SUPABASESERVICE_KEY}- DASHBOARD_USERNAME=${SERVICE_USER_ADMIN}- DASHBOARD_PASSWORD=${SERVICE_PASSWORD_ADMIN}+ - 'KONG_STORAGE_CONNECT_TIMEOUT=${KONG_STORAGE_CONNECT_TIMEOUT:-60}'+ - 'KONG_STORAGE_WRITE_TIMEOUT=${KONG_STORAGE_WRITE_TIMEOUT:-3600}'+ - 'KONG_STORAGE_READ_TIMEOUT=${KONG_STORAGE_READ_TIMEOUT:-3600}'+ - 'KONG_STORAGE_REQUEST_BUFFERING=${KONG_STORAGE_REQUEST_BUFFERING:-false}'+ - 'KONG_STORAGE_RESPONSE_BUFFERING=${KONG_STORAGE_RESPONSE_BUFFERING:-false}'volumes:# https://github.com/supabase/supabase/issues/12661- type: bind@@ -215,12 +220,17 @@ services:## Storage routes: the storage server manages its own auth- name: storage-v1_comment: 'Storage: /storage/v1/* -> http://supabase-storage:5000/*'+ connect_timeout: $KONG_STORAGE_CONNECT_TIMEOUT+ write_timeout: $KONG_STORAGE_WRITE_TIMEOUT+ read_timeout: $KONG_STORAGE_READ_TIMEOUTurl: http://supabase-storage:5000/routes:- name: storage-v1-allstrip_path: truepaths:- /storage/v1/+ request_buffering: $KONG_STORAGE_REQUEST_BUFFERING+ response_buffering: $KONG_STORAGE_RESPONSE_BUFFERINGplugins:- name: cors