Skip to content

Commit 09318c2

Browse files
authored
Merge pull request #430 from compose-spec/compose-spec
2 parents dc96d82 + e49f586 commit 09318c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

schema/compose-spec.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"properties": {
9494
"deploy": {"$ref": "#/definitions/deployment"},
9595
"annotations": {"$ref": "#/definitions/list_or_dict"},
96+
"attach": {"type": "boolean"},
9697
"build": {
9798
"oneOf": [
9899
{"type": "string"},
@@ -190,6 +191,10 @@
190191
"additionalProperties": false,
191192
"properties": {
192193
"restart": {"type": "boolean"},
194+
"required": {
195+
"type": "boolean",
196+
"default": true
197+
},
193198
"condition": {
194199
"type": "string",
195200
"enum": ["service_started", "service_healthy", "service_completed_successfully"]

0 commit comments

Comments
 (0)