diff --git a/content/compose/networking.md b/content/compose/networking.md index 8dc16ec6aa..7abbf36ecc 100644 --- a/content/compose/networking.md +++ b/content/compose/networking.md @@ -40,7 +40,7 @@ When you run `docker compose up`, the following happens: 3. A container is created using `db`'s configuration. It joins the network `myapp_default` under the name `db`. -Each container can now look up the hostname `web` or `db` and +Each container can now look up the service name `web` or `db` and get back the appropriate container's IP address. For example, `web`'s application code could connect to the URL `postgres://db:5432` and start using the Postgres database.