fix: Update stack-deploy.md

Fix YAML indentation.
This commit is contained in:
Romualdo Alcântara 2023-10-02 11:57:46 -03:00 committed by GitHub
parent 7f7fde59bd
commit 419fbeb08f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -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.
```
```