From b95bbd15b5f1793c778157f94377acfb0ff8947b Mon Sep 17 00:00:00 2001 From: Mats Luspa Date: Fri, 10 Feb 2023 12:52:52 +0100 Subject: [PATCH] Typo (#16711) In row 55 to 57 it is written following: Within the `web` container, your connection string to `db` would look like `postgres://db:5432`, and from the host machine, the connection string would look like `postgres://{DOCKER_IP}:8001`. As the container is running postgres on port 5432 the it should be `postgres://{DOCKER_IP}:5432` in the end of that sentence. --- compose/networking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/networking.md b/compose/networking.md index 6f9bec931c..f4f4e1acf3 100644 --- a/compose/networking.md +++ b/compose/networking.md @@ -54,7 +54,7 @@ the service is accessible outside the swarm as well. Within the `web` container, your connection string to `db` would look like `postgres://db:5432`, and from the host machine, the connection string would -look like `postgres://{DOCKER_IP}:8001`. +look like `postgres://{DOCKER_IP}:5432`. ## Update containers on the network