# `DockerEngineAPI.Model.EndpointSpec`
[🔗](https://github.com/testcontainers/testcontainers-elixir/blob/main/docker_engine_api/model/endpoint_spec.ex#L4)

Properties that can be configured to access and load balance a service.

# `t`

```elixir
@type t() :: %DockerEngineAPI.Model.EndpointSpec{
  Mode: String.t() | nil,
  Ports: [DockerEngineAPI.Model.EndpointPortConfig.t()] | nil
}
```

# `decode`

---

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