From f79e0e588e45891f0aabcf6ff65e80bdd1e45ec4 Mon Sep 17 00:00:00 2001 From: Aanand Prasad Date: Mon, 3 Mar 2014 16:20:43 +0000 Subject: [PATCH] Reword port warning in YAML reference, remove it from README --- README.md | 2 -- docs/yml.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index da662a73d..c5ff341ff 100644 --- a/README.md +++ b/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: diff --git a/docs/yml.md b/docs/yml.md index 283d41fc6..f2c093e3e 100644 --- a/docs/yml.md +++ b/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"