Update README.md - sample yml needed expose option
Example docker-compose.yml does not work without defining an exposed port for whoami service.
This commit is contained in:
parent
e80fc0b304
commit
e014065d9e
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ services:
|
|||
|
||||
whoami:
|
||||
image: jwilder/whoami
|
||||
expose:
|
||||
- "8000"
|
||||
environment:
|
||||
- VIRTUAL_HOST=whoami.local
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue