Skip to content

docker-cloud.yml: add Docker stack example #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 9, 2018

Conversation

jeremydouglass
Copy link
Contributor

Demonstrate a minimal stack with a generic volume, web host, and proxy.

Demonstrates no exposed port on the source server and the need to escape $ values in the HTPASSWD.

closes #15

Demonstrate a minimal stack with a generic volume, web host, and proxy.

Demonstrates no exposed port on the source server and the need to escape $ values in the HTPASSWD.
docker-cloud.yml: add Docker stack example
@beevelop
Copy link
Owner

beevelop commented Aug 1, 2018

LGTM; are docker-cloud.yml files equivalent to docker-compose files / is there any downside calling the file docker-cloud.yml?

following Docker beginner documentation example for `docker stack`
* jeremydouglass-patch-1:
  rename docker-cloud.yml --> docker-stack.yml
  comments: give simple example instructions for compose and swarm
  comments: expand port and pass comments
  drop `links` (ignored in swarm)
@jeremydouglass
Copy link
Contributor Author

OK -- I reviewed documentation and examples: the yml file name is arbitrary and it can be used with swarm or compose.

I have updated the file after testing it with both docker-compose and docker stack deploy, included simple instructions in the file, and changed the stack file name to use the same one from Docker's documentation, rather than the default file for their Docker Cloud service.

For discussion see my summary post here: https://stackoverflow.com/a/51717332/7207622

@beevelop
Copy link
Owner

beevelop commented Aug 9, 2018

Awesome, thank you for the contribution and the clarification.

@beevelop beevelop merged commit f072a43 into beevelop:master Aug 9, 2018
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.

Consider documenting docker-compose.yml or docker-cloud.yml
2 participants