Docker · Option
services
Docker Compose services define the containers that make up an application. The services map names each component and sets its image, runtime options, dependencies, and optional build or deployment settings.
Last updated
Syntax
services:
SERVICE_NAME:
image: IMAGE
# other service settingsIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
builddeploydepends_onconfigsnetworksvolumessecretshealthcheck