mirror of https://github.com/docker/docs.git
parent
7f7fde59bd
commit
419fbeb08f
|
@ -119,13 +119,13 @@ counter whenever you visit it.
|
||||||
|
|
||||||
```none
|
```none
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: 127.0.0.1:5000/stackdemo
|
image: 127.0.0.1:5000/stackdemo
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
```
|
```
|
||||||
|
|
||||||
The image for the web app is built using the Dockerfile defined
|
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
|
$ docker swarm leave --force
|
||||||
|
|
||||||
Node left the swarm.
|
Node left the swarm.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue