docs/compose/compose-file
Sebastiaan van Stijn e295a6e6cb Use site parameter to use latest compose file versions in examples (#8630)
* Use site parameter to use latest compose file versions in examples

Make sure that examples use the latest version of the compose file
format, to encourage using the latest version, and to prevent
users from running into "not supported by this version" problems
when copy/pasting, and combining examples that use different
versions.

Also add a note about `version: x` not being equivalent to
`version: x.latest`.

Note that there are still some examples using fixed versions
in the UCP sections; we need to evaluate those to make sure
the right (and supported) versions are used for UCP (which may
be different than "latest").

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Address some v3/v2 issues, and YAML syntax error

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

* Minor edit

* Final updates

- Added note around v2 and v3 versioning
- Updated note for v3 to match the v2 update
2019-04-12 15:25:47 +02:00
..
compose-file-v1.md Fix typo: docker_compose.yml -> docker-compose.yml 2019-02-09 15:11:15 +02:00
compose-file-v2.md Use site parameter to use latest compose file versions in examples (#8630) 2019-04-12 15:25:47 +02:00
compose-versioning.md Use site parameter to use latest compose file versions in examples (#8630) 2019-04-12 15:25:47 +02:00
index.md Use site parameter to use latest compose file versions in examples (#8630) 2019-04-12 15:25:47 +02:00