mirror of https://github.com/docker/docs.git
Quote port numbers when using short syntax
Comply with our own advice.
This commit is contained in:
parent
8120b27416
commit
37f9546e32
|
@ -60,7 +60,7 @@ services:
|
||||||
vote:
|
vote:
|
||||||
image: dockersamples/examplevotingapp_vote:before
|
image: dockersamples/examplevotingapp_vote:before
|
||||||
ports:
|
ports:
|
||||||
- 5000:80
|
- "5000:80"
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -75,7 +75,7 @@ services:
|
||||||
result:
|
result:
|
||||||
image: dockersamples/examplevotingapp_result:before
|
image: dockersamples/examplevotingapp_result:before
|
||||||
ports:
|
ports:
|
||||||
- 5001:80
|
- "5001:80"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -566,7 +566,7 @@ services:
|
||||||
wordpress:
|
wordpress:
|
||||||
image: wordpress
|
image: wordpress
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- "8080:80"
|
||||||
networks:
|
networks:
|
||||||
- overlay
|
- overlay
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -1783,7 +1783,7 @@ services:
|
||||||
php:
|
php:
|
||||||
image: php:7.1-fpm
|
image: php:7.1-fpm
|
||||||
ports:
|
ports:
|
||||||
- 9000
|
- "9000"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/project:cached
|
- .:/var/www/project:cached
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue