test: add tmpfs test case
This commit is contained in:
parent
83e4f3422f
commit
eb024311ea
2 changed files with 16 additions and 0 deletions
|
@ -227,6 +227,17 @@ from compose_viz.parser import Parser
|
|||
),
|
||||
],
|
||||
),
|
||||
Service(
|
||||
name="tmp",
|
||||
image="awesome/nginx",
|
||||
volumes=[
|
||||
Volume(
|
||||
source="/app",
|
||||
target="/app",
|
||||
type=VolumeType.tmpfs,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -17,6 +17,11 @@ services:
|
|||
service: common
|
||||
volumes:
|
||||
- cli-volume:/var/lib/backup/data:ro
|
||||
tmp:
|
||||
image: awesome/nginx
|
||||
volumes:
|
||||
- type: tmpfs
|
||||
target: /app
|
||||
|
||||
volumes:
|
||||
common-volume:
|
||||
|
|
Loading…
Reference in a new issue