added support for tmpfs-mode in compose file

Signed-off-by: Ethan Haynes <ethanhaynes@alumni.harvard.edu>
This commit is contained in:
Ethan Haynes
2018-01-16 10:52:26 -06:00
parent b15362ce32
commit cd69d082ea
5 changed files with 304 additions and 31 deletions

View File

@ -1,4 +1,4 @@
version: "3.5"
version: "3.6"
services:
foo:
@ -10,7 +10,7 @@ services:
foo: bar
target: foo
network: foo
cache_from:
cache_from:
- foo
- bar
labels: [FOO=BAR]
@ -249,6 +249,10 @@ services:
source: ./opt
target: /opt
consistency: cached
- type: tmpfs
target: /opt
tmpfs:
size: 10000
working_dir: /code