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

Represents the started state of a Docker Compose environment.

# `get_service`

Returns the service struct for the given service name.

# `get_service_host`

Returns the docker host for a service.

# `get_service_port`

Returns the mapped host port for a service and container port.

---

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