Sync composefile v3.2 schema with docker/cli

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2017-09-19 18:27:02 +02:00 committed by Joffrey F
parent fc426e273d
commit 432dffc710

View File

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