Skip to content

Commit afd9c33

Browse files
authored
Merge pull request #325 from milas/tmpfs-mode
Fixes #302
2 parents 999ce24 + 29304bf commit afd9c33

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

schema/compose-spec.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@
406406
{"type": "integer", "minimum": 0},
407407
{"type": "string"}
408408
]
409+
},
410+
"mode": {
411+
"type": "number"
409412
}
410413
},
411414
"additionalProperties": false,

types/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,8 @@ type ServiceVolumeVolume struct {
828828
type ServiceVolumeTmpfs struct {
829829
Size UnitBytes `yaml:",omitempty" json:"size,omitempty"`
830830

831+
Mode uint32 `yaml:",omitempty" json:"mode,omitempty"`
832+
831833
Extensions map[string]interface{} `yaml:",inline" json:"-"`
832834
}
833835

0 commit comments

Comments
 (0)