From 08c6deba12c382ec526b6ce46886dc49250c487f Mon Sep 17 00:00:00 2001 From: Taimoor Zaeem Date: Tue, 18 Nov 2025 11:23:31 +0500 Subject: [PATCH] docs: update server-host config in docker-compose example The docker-compose example did not work with multiple containers when PGRST_SERVER_HOST is set to `localhost`. This updates the value to `0.0.0.0` allowing other containers to connect. Signed-off-by: Taimoor Zaeem --- docs/explanations/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/explanations/install.rst b/docs/explanations/install.rst index 88d0226af..31f7b4134 100644 --- a/docs/explanations/install.rst +++ b/docs/explanations/install.rst @@ -146,7 +146,7 @@ To avoid having to install the database at all, you can run both it and the serv ports: - "3000:3000" environment: - PGRST_SERVER_HOST: localhost # necessary for `postgrest --ready` flag to work + PGRST_SERVER_HOST: 0.0.0.0 # necessary for `postgrest --ready` flag to work PGRST_DB_URI: postgres://app_user:password@db:5432/app_db PGRST_OPENAPI_SERVER_PROXY_URI: http://127.0.0.1:3000 depends_on: