Browse Source

Reword port warning in YAML reference, remove it from README

Aanand Prasad 11 years ago
parent
commit
f79e0e588e
2 changed files with 1 additions and 3 deletions
  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"