소스 검색

Reword port warning in YAML reference, remove it from README

Aanand Prasad 11 년 전
부모
커밋
f79e0e588e
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 2
      README.md
  2. 1 1
      docs/yml.md

+ 0 - 2
README.md

@@ -28,8 +28,6 @@ db:
   image: orchardup/postgresql
 ```
 
-**Note** When mapping ports in the format HOST:CONTAINER you may experience erroneous results when using a container port lower than 60. This is due to YAML parsing numbers in the format "xx:yy" as sexagesimal (base 60) for this reason it is recommended to define your port mappings as strings.
-
 (No more installing Postgres on your laptop!)
 
 Then type `fig up`, and Fig will start and run your entire app:

+ 1 - 1
docs/yml.md

@@ -28,7 +28,7 @@ links:
  - redis
 
 -- Expose ports. Either specify both ports (HOST:CONTAINER), or just the container port (a random host port will be chosen).
--- Note When mapping ports in the format HOST:CONTAINER you may experience erroneous results when using a container port lower than 60. This is due to YAML parsing numbers in the format "xx:yy" as sexagesimal (base 60) for this reason it is recommended to define your port mappings as strings.
+-- Note: When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML will parse numbers in the format "xx:yy" as sexagesimal (base 60). For this reason, we recommend always explicitly specifying your port mappings as strings.
 ports:
  - "3000"
  - "8000:8000"