# Config Constructors

- Package: [Aspire.Hosting.Docker](/reference/api/csharp/aspire.hosting.docker.md)
- Type: [Config](/reference/api/csharp/aspire.hosting.docker/config.md)
- Kind: `Constructors`
- Members: `1`

Represents a configuration object in a Docker Compose file.

## Config

- Name: `Constructor`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Docker/Resources/ComposeNodes/Config.cs#L52)

```csharp
public sealed class Config
{
    public Config()
    {
        // ...
    }
}
```
