Browse Source

Sync composefile v3.2 schema with `docker/cli`

Signed-off-by: Vincent Demeester <[email protected]>
Vincent Demeester 8 years ago
parent
commit
432dffc710
1 changed files with 3 additions and 1 deletions
  1. 3 1
      compose/config/config_schema_v3.2.json

+ 3 - 1
compose/config/config_schema_v3.2.json

@@ -169,7 +169,8 @@
           "type": "array",
           "items": {
             "oneOf": [
-              {"type": ["string", "number"], "format": "ports"},
+              {"type": "number", "format": "ports"},
+              {"type": "string", "format": "ports"},
               {
                 "type": "object",
                 "properties": {
@@ -248,6 +249,7 @@
                   "source": {"type": "string"},
                   "target": {"type": "string"},
                   "read_only": {"type": "boolean"},
+                  "consistency": {"type": "string"},
                   "bind": {
                     "type": "object",
                     "properties": {