* Update networking.md

* Update compose/networking.md

Co-authored-by: Guillaume Lours <705411+glours@users.noreply.github.com>

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
Co-authored-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Anton Makarenko 2023-03-27 21:10:55 +07:00 committed by GitHub
parent 7ecfc99b8d
commit a95fcaeb3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}:5432`.
look like `postgres://{DOCKER_IP}:8001` for example `postgres://localhost:8001` if your container is running locally.
## Update containers on the network