swarm-compose-compat
The docker stack deploy command uses the legacy
Compose file version 3
format, used by Compose V1. The latest format, defined by the
Compose specification
isn't compatible with the docker stack deploy command.
For more information about the evolution of Compose, see History of Compose.