Merge pull request #239 from BretFisher/fix-stack-deploy-cmd

reordering stack deploy cmd format
This commit is contained in:
Jérôme Petazzoni
2018-04-25 23:29:58 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ services:
- Deploy our local registry:
```bash
docker stack deploy registry --compose-file registry.yml
docker stack deploy --compose-file registry.yml registry
```
]
@@ -304,7 +304,7 @@ services:
- Create the application stack:
```bash
docker stack deploy dockercoins --compose-file dockercoins.yml
docker stack deploy --compose-file dockercoins.yml dockercoins
```
]

View File

@@ -120,7 +120,7 @@ We will use the following Compose file (`stacks/dockercoins+healthcheck.yml`):
- Deploy the updated stack:
```bash
docker stack deploy dockercoins --compose-file dockercoins+healthcheck.yml
docker stack deploy --compose-file dockercoins+healthcheck.yml dockercoins
```
]

View File

@@ -187,7 +187,7 @@ class: elk-auto
```bash
docker-compose -f elk.yml build
docker-compose -f elk.yml push
docker stack deploy elk -c elk.yml
docker stack deploy -c elk.yml elk
```
]