Browse Source

Update README.md - sample yml needed expose option

Example docker-compose.yml does not work without defining an exposed port for whoami service.
kylegoetz 6 năm trước cách đây
mục cha
commit
e014065d9e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -51,6 +51,8 @@ services:
 
   whoami:
     image: jwilder/whoami
+    expose:
+      - "8000"
     environment:
       - VIRTUAL_HOST=whoami.local
 ```