589 B
589 B
Validate Docker Swarm Stack
Validate the Swarm stack named in $ARGUMENTS.
If $ARGUMENTS is empty, inspect the repository and validate all stack YAML files you can safely validate.
Steps:
- Identify the stack file and matching
.env.examplefile. - Run
docker compose configwith example env values when possible. - Review for Swarm compatibility issues like
container_name, local-onlydepends_onassumptions, and non-overlay networking. - Report required Docker secrets, networks, volumes, and deployment command.
- Do not deploy or modify files unless the user asks.