mirror of https://github.com/docker/docs.git
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.
This commit is contained in:
parent
0d02de9a68
commit
b95bbd15b5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue