Docker Swarm Mode has been in severely declining usage and maintenance for years now. Meanwhile, Docker Compose has had quite a lot of changes (notably deprecating the `version:` field required by Swarm / forward compatibility). As a result, it no longer makes a ton of sense for us to prefer/suggest Swarm usages.
This changes all references to be `compose.yaml` (the upstream-preferred canonical filename: 9a9cc5d9c3/cli/options.go (L384-L385)) directly, leaving "swarm compatibility" as an exercise for the minority of readers who might still need/want it.
Unfortunately, this also means we need to remove all the play-with-docker links (since it only supports stack deploy via URL arguments, not compose), but my experience with that service is that it hasn't been terribly performant for a while, so I don't think this is a huge loss.
(There were also a few trailing references to the long-since-defunct Docker Machine project which have also been cleaned up.)
* Odoo license was updated from AGPL to LGPL a long time ago and never changed here
* Add a section for named volumes
* Adapt docker-compose example to show `secrets` usage
The odoo docker image is based on debian:jessie, which only has
postgresql-client-9.4, while the official postgres docker
is 9.5. This causes a version mismatch and errors when using the
postgres command-line tools, such as `pg_dump`.
Fixesodoo/odoo#12275Fixesodoo/docker#49Fixesodoo/docker#54Fixesodoo/docker#59