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:
|
||||
image: dockersamples/examplevotingapp_vote:before
|
||||
ports:
|
||||
- 5000:80
|
||||
- "5000:80"
|
||||
networks:
|
||||
- frontend
|
||||
depends_on:
|
||||
|
@ -75,7 +75,7 @@ services:
|
|||
result:
|
||||
image: dockersamples/examplevotingapp_result:before
|
||||
ports:
|
||||
- 5001:80
|
||||
- "5001:80"
|
||||
networks:
|
||||
- backend
|
||||
depends_on:
|
||||
|
@ -566,7 +566,7 @@ services:
|
|||
wordpress:
|
||||
image: wordpress
|
||||
ports:
|
||||
- 8080:80
|
||||
- "8080:80"
|
||||
networks:
|
||||
- overlay
|
||||
deploy:
|
||||
|
@ -1783,7 +1783,7 @@ services:
|
|||
php:
|
||||
image: php:7.1-fpm
|
||||
ports:
|
||||
- 9000
|
||||
- "9000"
|
||||
volumes:
|
||||
- .:/var/www/project:cached
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue