Spencer Rinehart
f612bc98d9
Fix example formatting for depends_on.
...
Markdown was acting against expectations here by merging the example indented YAML into the previous list item instead of treating it as a code block.
I decided that a better way of handling this would be to add a "Simple example:" line that is also used elsewhere in this file. It resets the markdown indentation in a way that works.
Signed-off-by: Spencer Rinehart <anubis@overthemonkey.com>
2016-02-03 14:36:46 -06:00
Daniel Nephin
89c5b800e6
Merge pull request #2782 from dbonev/2772-compose-project-name-empty
...
Falling back to default project name on empty COMPOSE_PROJECT_NAME
2016-02-02 20:37:38 -05:00
Sven Dowideit
bd1c8973ab
Merge pull request #2809 from moxiegirl/fixing-dup-identifier
...
Fixing duplicate identifiers for 1.10
2016-02-02 15:43:09 -08:00
Mary Anthony
a713447e0b
Fixing duplicate identifiers
...
Signed-off-by: Mary Anthony <mary@docker.com>
2016-02-02 12:04:13 -08:00
Aanand Prasad
2651c00f0c
Connect container to networks before starting it
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 19:31:49 +00:00
Daniel Nephin
4c4e94bc19
Merge pull request #2785 from dnephin/depends_on_with_extends
...
Fix list options when used with extends and multiple files
2016-02-02 13:36:46 -05:00
Daniel Nephin
1cb67b781c
Merge pull request #2777 from dnephin/reorder_docs
...
Re-order docs in menu, fix menu title capitalization, cleanup command reference
2016-02-02 11:26:26 -05:00
Daniel Nephin
c290e560cb
Merge pull request #2786 from dnephin/refactor_project
...
Fix a few bugs around networking and project initilization
2016-02-02 11:19:34 -05:00
Aanand Prasad
7a197e5a69
Merge pull request #2802 from dnephin/appveyor_to_bintray_deploy
...
Deploying to bintray from appveyor using the new bintray support
2016-02-02 16:13:07 +00:00
Daniel Nephin
c81cc24e72
Merge pull request #2806 from aanand/run-tests-with-tty
...
Run test containers in TTY mode
2016-02-02 10:56:21 -05:00
Daniel Nephin
3d3388d59b
Extract volume init and removal from project.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:53:04 -05:00
Daniel Nephin
e551988616
Include networks in the config_hash.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:52:03 -05:00
Daniel Nephin
0810eeba10
Don't initialize networks that aren't used by any services.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:52:03 -05:00
Daniel Nephin
8e838968fe
Refactor project network initlization.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:51:31 -05:00
Daniel Nephin
3ec87adccc
Update merge docs with depends_on, and correction about how links and volumes_from are merged.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:49:43 -05:00
Daniel Nephin
e32863f89e
Make links unique-by-alias when merging
...
Factor out MergeDict from merge_service_dicts to reduce complexity below limit.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:48:47 -05:00
Daniel Nephin
bf6a5d3e49
Fix merging of lists with multiple files.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:48:18 -05:00
Ryan Taylor Long
c70c72f49a
Add depends_on to ALLOWED_KEYS
...
This ensures and already existing `depends_on` is not deleted when the service on which it is defined also employs `extends`.
Signed-off-by: Ryan Taylor Long <ryan@rtlong.com>
2016-02-02 10:48:18 -05:00
Daniel Nephin
7b03de7d01
Move command reference to overview.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:46:52 -05:00
Daniel Nephin
cf24c36c55
Rename the old environment variable page to link environment variables.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:46:29 -05:00
Daniel Nephin
2df5593e8f
Cleanup command-line reference docs by renaming overview to envvars.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:46:28 -05:00
Daniel Nephin
5e30f089e3
Use the same capitalization for all menu items in the docs.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:46:28 -05:00
Daniel Nephin
4f92004d9a
Re-order compose docs so that quickstart guides come before other documentation.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-02 10:46:28 -05:00
Aanand Prasad
60a5b39f6f
Merge pull request #2783 from aanand/fix-validation-v2
...
Fix validation and version checking
2016-02-02 15:19:50 +00:00
Aanand Prasad
1152c5b25b
Tweak and test warning shown when version is a dict
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:58:34 +00:00
Aanand Prasad
ef8db3650a
Improve error messages for invalid versions
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:58:34 +00:00
Aanand Prasad
aeef61fcd8
Make 'version' a string
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:58:34 +00:00
Aanand Prasad
a8de582425
Remove redundant check - self.config should never be None
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:47:44 +00:00
Aanand Prasad
4ac004059a
Normalise/fix config field designators in validation messages
...
- Instead of "Service 'web' configuration key 'image'", just say
"web.image"
- Fix the "Service 'services'" bug in the v2 file format
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:47:43 +00:00
Aanand Prasad
d40bc6e4a0
Convert validation error tests to pytest style
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:47:43 +00:00
Aanand Prasad
e8756905ba
Run test containers in TTY mode
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-02-02 13:31:28 +00:00
Daniel Nephin
6928c24323
Deploying to bintray from appveyor using the new bintray support.
...
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-02-01 16:44:45 -05:00
Daniel Nephin
9c6c50c607
Merge pull request #2796 from mustafau/patch-1
...
Update link to "Common Use Cases" title
2016-02-01 11:24:18 -05:00
Aanand Prasad
1816147d57
Merge pull request #2740 from albers/completion-create
...
bash completion for `docker-compose create`
2016-02-01 15:44:07 +00:00
Aanand Prasad
c1cb75cc4f
Merge pull request #2741 from sdurrheimer/zsh-completion-create-command
...
Add zsh completion for 'docker-compose create'
2016-02-01 15:43:47 +00:00
Aanand Prasad
b912b306f1
Merge pull request #2784 from dnephin/signal_race
...
Fix race condition with up and setting signal handlers
2016-02-01 15:15:59 +00:00
Mustafa Ulu
0b7877d82a
Update link to "Common Use Cases" title
...
It is now under overview.md
Signed-off-by: Mustafa Ulu <mustafau@sabanciuniv.edu>
2016-02-01 00:17:18 +02:00
Dimitar Bonev
34ccb90d7e
Falling back to default project name when COMPOSE_PROJECT_NAME is set to empty
...
Signed-off-by: Dimitar Bonev <dimitar.bonev@gmail.com>
2016-01-30 10:14:45 +02:00
Daniel Nephin
b4868d0259
Fix race condition with up and setting signal handlers.
...
Also print stdout on wait_for_container().
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2016-01-29 13:04:04 -05:00
Daniel Nephin
40d69675f3
Merge pull request #2745 from albers/completion-services
...
Fix computation of service lists in bash completion
2016-01-28 16:08:46 -05:00
Daniel Nephin
517d3a581c
Merge pull request #2768 from aanand/fix-make-branch
...
Fixes to make-branch script
2016-01-28 15:05:21 -05:00
Daniel Nephin
883e45626f
Merge pull request #2706 from dnephin/dont_copy_host_volumes
...
Don't copy host volumes on recreate
2016-01-28 15:02:53 -05:00
Aanand Prasad
12af889e26
Merge pull request #2737 from moxiegirl/new-navigation
...
New navigation for 1.10 release
2016-01-28 12:38:28 +00:00
Mary Anthony
3fc72038c5
New navigation for 1.10 release
...
Updating with Joffrey's comments
Signed-off-by: Mary Anthony <mary@docker.com>
2016-01-27 12:05:56 -08:00
Aanand Prasad
634ae7daa5
Let the user specify any repo as their fork
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-27 15:40:28 +00:00
Aanand Prasad
3547c55523
Default to vim if EDITOR is not set
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-27 15:40:28 +00:00
Aanand Prasad
8c250e220c
Merge pull request #2754 from aanand/upgrading-improvements
...
Improvements to upgrade guide and script
2016-01-27 13:48:23 +00:00
Aanand Prasad
888f4b43c9
Merge pull request #2762 from aanand/remove-links-warnings
...
Remove outdated warnings about links from docs
2016-01-27 13:08:15 +00:00
Aanand Prasad
d3a1cea170
Remove outdated warnings about links from docs
...
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
2016-01-27 02:34:59 +00:00
Aanand Prasad
3aa545eb8e
Merge pull request #2755 from aanand/fix-rebase-script
...
Fix rebase-bump-commit script
2016-01-27 02:05:24 +00:00