mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-18 20:39:17 +00:00
Merge pull request #239 from BretFisher/fix-stack-deploy-cmd
reordering stack deploy cmd format
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
]
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
]
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user