mirror of https://github.com/docker/compose.git
Order properties alphabetically
Improves readability. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
6c7c598546
commit
98c7a7da61
|
@ -14,28 +14,15 @@
|
|||
"type": "object",
|
||||
|
||||
"properties": {
|
||||
"ports": {
|
||||
"oneOf": [
|
||||
{"type": "string", "format": "ports"},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"uniqueItems": true,
|
||||
"format": "ports"
|
||||
}
|
||||
]
|
||||
},
|
||||
"build": {"type": "string"},
|
||||
"env_file": {"$ref": "#/definitions/string_or_list"},
|
||||
|
||||
"environment": {
|
||||
"oneOf": [
|
||||
{"type": "object"},
|
||||
{"type": "array", "items": {"type": "string"}, "uniqueItems": true}
|
||||
]
|
||||
},
|
||||
"image": {"type": "string"},
|
||||
"mem_limit": {"type": "number"},
|
||||
"memswap_limit": {"type": "number"},
|
||||
|
||||
"extends": {
|
||||
"type": "object",
|
||||
|
@ -46,6 +33,22 @@
|
|||
},
|
||||
"required": ["service"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
"image": {"type": "string"},
|
||||
"mem_limit": {"type": "number"},
|
||||
"memswap_limit": {"type": "number"},
|
||||
|
||||
"ports": {
|
||||
"oneOf": [
|
||||
{"type": "string", "format": "ports"},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {"type": "string"},
|
||||
"uniqueItems": true,
|
||||
"format": "ports"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue