Merge pull request #36016 from jstansel

* gh-36016:
  Fix typo in docker compose service connections note

Closes gh-36016
This commit is contained in:
Scott Frederick 2023-06-23 15:26:32 -06:00
commit eba7b32bed
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ When doing so, the connection details take precedence over any connection-relate
When using Spring Boots Docker Compose support, service connections are established to the port mapped by the container.
NOTE: Docker compose is usually used in such a way that the ports inside the container are mapped to ephemeral ports on your computer.
For example, A Postgres server may run inside the container using port 5432 but be mapped to a totally different port locally.
For example, a Postgres server may run inside the container using port 5432 but be mapped to a totally different port locally.
The service connection will always discover and use the locally mapped port.
Service connections are established by using the image name of the container.