Cli
Docker command that helps …
When docker stack deploy throws yaml: while parsing a block mapping at line X, column Y, the issue may not be there.
Run docker compose -f <file> config so it parses the config. You will probably get yaml: while parsing a block mapping at line X, column Y: line Z, column W: did not find …