---
type: resource-type
title: DockerConfig
description: A config definition in Docker Compose
name: DockerConfig
lexicon: docker
resource_type: Docker::Compose::Config
---
A config definition in Docker Compose

## Properties

- `file` (`string`): Path to the config file
- `external` (`boolean`): Whether the config is external
- `labels` (`Record<string, string>`): Config labels
- `name` (`string`): Custom config name
