summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo-containers/single.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/topo-containers/single.yaml')
-rw-r--r--extras/hs-test/topo-containers/single.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/extras/hs-test/topo-containers/single.yaml b/extras/hs-test/topo-containers/single.yaml
index e0fea70d50d..9ecdc904d4d 100644
--- a/extras/hs-test/topo-containers/single.yaml
+++ b/extras/hs-test/topo-containers/single.yaml
@@ -1,17 +1,18 @@
---
volumes:
- - shared-vol
+ - volume: &shared-vol
+ host-dir: shared-vol
containers:
- name: "vpp"
volumes:
- - host-dir: "shared-vol"
+ - <<: *shared-vol
container-dir: "/tmp/vpp"
is-default-work-dir: true
- name: "nginx"
volumes:
- - host-dir: "shared-vol"
+ - <<: *shared-vol
container-dir: "/tmp/nginx"
is-default-work-dir: true
image: "hs-test/nginx-ldp"
- is-optional: true \ No newline at end of file
+ is-optional: true