Skip to content

Comments

Add 1st draft of docker deploy --compose-file#672

Closed
vdemeester wants to merge 1 commit intodocker:vnext-enginefrom
vdemeester:compose-to-swarm
Closed

Add 1st draft of docker deploy --compose-file#672
vdemeester wants to merge 1 commit intodocker:vnext-enginefrom
vdemeester:compose-to-swarm

Conversation

@vdemeester
Copy link
Contributor

@vdemeester vdemeester commented Nov 21, 2016

Describe the proposed changes

Adds documentation on the new compose to swarm feature in the engine — making it possible to use a compose file to deploy services, with docker deploy --compose-file ….

Unreleased project version

For 1.13.0 GA.

Related issue

Not aware if there is an issue in this repo on that or not 👼 but this should fix moby/moby#28414 👼

Related issue or PR in another project

moby/moby#27998

Please take a look

@mstanleyjones @thaJeztah

It's a really simple draft to start the process of documenting the feature. It's probably a little bit poorly written and misses some informations (like the list of forbidden/unsupported elements and the reason why)

@thaJeztah thaJeztah added this to the engine/1.13.0 milestone Nov 21, 2016
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some nits I spotted, I'll do a more thorough review later :D

## Create our stack

The stack used in this guide is inspired by the [example voting
app](https://github.com/docker/example-voting-app). This stack consits of :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo "consits"


redis:
image: redis:alpine
container_name: redis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need (or should have) the container_name here?

This is a rough guide to deploy a compose file using docker deploy.

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester
Copy link
Contributor Author

Closing in favor of #685 👼

@vdemeester vdemeester closed this Nov 22, 2016
@vdemeester vdemeester deleted the compose-to-swarm branch November 22, 2016 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants