Use when writing compose.yaml service definitions, configuring service dependencies, or setting up health checks and resource limits. Prevents depends_on without condition: service_healthy, which starts dependent services before the upstream is actually ready. Covers image, build, command, ports, environment, volumes, networks, depends_on with health conditions, healthcheck, deploy, restart, logging, profiles, and extends directives. Keywords: services, depends_on, condition: service_healthy, healthcheck, ports, volumes, networks, deploy, restart, profiles, compose.yaml, write compose file, service definition, start order, wait for database.
Use when writing compose.yaml service definitions, configuring service dependencies, or setting up health checks and resource limits. Prevents depends_on without condition: service_healthy, which starts dependent services before the upstream is actually ready. Covers image, build, command, ports, environment, volumes, networks, depends_on with health conditions, healthcheck, deploy, restart, logging, profiles, and extends directives. Keywords: services, depends_on, condition: service_healthy, healthcheck, ports, volumes, networks, deploy, restart, profiles, compose.yaml, write compose file, service definition, start order, wait for database.
Installation & variants
Download the repository, including the skill’s supporting files.
Use when formatting Docker CLI output with --format flags or extracting specific fields from docker inspect. Prevents broken template syntax from missing braces, incorrect field paths, and unquoted json calls. Covers Go template syntax, {{ .Field…
No comments yet