# ServiceDependency

- Module: [Aspire.Hosting.Docker](/reference/api/go/aspire.hosting.docker.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents a service dependency in a Docker Compose file.

## Definition

```go
type ServiceDependency interface{}
```

## Properties

- `Condition`: `*string` `get/set` -- Gets or sets the condition under which the service should be started.
