# `Testcontainers.Compose.ComposeService`
[🔗](https://github.com/testcontainers/testcontainers-elixir/blob/main/lib/compose/compose_service.ex#L1)

A lightweight struct representing a service within a Docker Compose environment.

# `mapped_port`

Returns the mapped host port for the given container port.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
