Are we just expected to stay on v2.1 if we want to use docker-compose and not swarm mode?
Yes.
https://github.com/docker/compose/issues/4513#issuecomment-289620945
Yes, we will continue to maintain and add to the v2 format for the foreseeable future. The hope is that in time, the v3 format + docker stack will be an equivalent or even better solution for most use-cases and that everyone will want to use it, but we know we have a long way to go until we get there.
Description
Docker compose version is currently 3, but that is for swarm mode.
Reproduction
https://github.com/creativecommons/wp-plugin-creativecommons/blob/04572379610190d355cd64ecacd3d4ab4c7c6156/dev/docker-compose.yml#L1
Expectation
Best version for our use
Additional context
Resolution