diff options
author | Vincent Demeester <vincent@sbr.pm> | 2017-09-19 18:27:02 +0200 |
---|---|---|
committer | Joffrey F <f.joffrey@gmail.com> | 2017-10-17 17:20:00 -0700 |
commit | 158a78657854a3f82c94861752996a1951c8d02d (patch) | |
tree | 30d653a5bf12073c67e3b67d89e6f7a35498c5e3 | |
parent | d48296213b76d891db2bfdd7a3fa2eab028d80c3 (diff) |
Sync composefile v3.2 schema with `docker/cli`
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
-rw-r--r-- | compose/config/config_schema_v3.2.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compose/config/config_schema_v3.2.json b/compose/config/config_schema_v3.2.json index b26b2c6c..2ca8e92d 100644 --- a/compose/config/config_schema_v3.2.json +++ b/compose/config/config_schema_v3.2.json @@ -170,7 +170,8 @@ "type": "array", "items": { "oneOf": [ - {"type": ["string", "number"], "format": "ports"}, + {"type": "number", "format": "ports"}, + {"type": "string", "format": "ports"}, { "type": "object", "properties": { @@ -249,6 +250,7 @@ "source": {"type": "string"}, "target": {"type": "string"}, "read_only": {"type": "boolean"}, + "consistency": {"type": "string"}, "bind": { "type": "object", "properties": { |