pruning Compose file v2 reference
updated Compose v1, v2, v3 files, still WIP
added includes for compatibility matrix, fixed TOC menu
new topic organziation Compose reference, split two 3 files plus versioning
Daniel's comments, fixed links, added more to versioning details
fixed volumes_from example per Daniel's comments for v1
simplified links to version references
copyedits and improved/surfaced links to versioning/upgrade docs
removed for version specific content re: volume_drivers from various files
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
* fix code block formatting after list
add comment between code block and list to fix markdown rendering
* Update compose-file.md
* Update compose-file.md
- Clarify that setting `entrypoint` overrides both the entrypoint and
the command on the image
- Fix the incorrect examples in the doc on startup order, which assumed
that the default command would not be overridden
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Constraints for Swarm scheduling are defined as an **environment** option, according to the example in the section *Manual scheduling*, and not as a **label** option
* Update to Rails 5, Ruby 2.3.3, remove therubyracer
Update packages to latest versions. The actual nodejs is installed on line 18. Changed to a general comment regarding the need to rebuild images when adding gems.
* update rails welcome screenshot to 5.0.0.1
In this example, database.yml uses the default value of `postgres` for the `database` key.
The database postgres is normally not used for user data, but for administrative purposes. This means people following this example will not be able to drop the database, and in general it's just not a great idea.
- Some wording and formatting tweaks
- Use Python 3.4, because it's 2016
- Use Alpine-based images for faster downloads and less disk space usage
- Use the list form of `CMD` in the Dockerfile, so it's not wrapped in
sh
- Remove the `depends_on` from `docker-compose.yml`, as it's not really
needed - the web app connects to Redis when it's visited, not on
startup
- Add a section on updating the app and seeing the changes, because
that's the point of mounting the code in!
- Add a note about `docker-compose down`
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>