mirror of
https://github.com/docker/docs.git
synced 2026-11-21 14:06:38 +03:00
Merge pull request #18341 from romualdoag/patch-1
fix: Update stack-deploy.md
This commit is contained in:
1 file changed
+8
-8
@@ -119,13 +119,13 @@ counter whenever you visit it.
|
||||
|
||||
```none
|
||||
services:
|
||||
web:
|
||||
image: 127.0.0.1:5000/stackdemo
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
redis:
|
||||
image: redis:alpine
|
||||
web:
|
||||
image: 127.0.0.1:5000/stackdemo
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
redis:
|
||||
image: redis:alpine
|
||||
```
|
||||
|
||||
The image for the web app is built using the Dockerfile defined
|
||||
@@ -294,4 +294,4 @@ The stack is now ready to be deployed.
|
||||
$ docker swarm leave --force
|
||||
|
||||
Node left the swarm.
|
||||
```
|
||||
```
|
||||
Reference in new issue
Block a user