Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(self-hosted): override dns ttl in kong config to avoid wrong routing (#47846)

Andrey A.4466cc4e456a
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 80ab7c50761..12b7efe9d05 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -96,6 +96,7 @@ services:
# https://github.com/supabase/cli/issues/14
KONG_DNS_ORDER: LAST,A,CNAME
KONG_DNS_NOT_FOUND_TTL: 1
+ KONG_DNS_VALID_TTL: 5
KONG_PLUGINS: request-transformer,cors,key-auth,acl,basic-auth,request-termination,ip-restriction,post-function
KONG_NGINX_PROXY_PROXY_BUFFER_SIZE: 160k
KONG_NGINX_PROXY_PROXY_BUFFERS: 64 160k