hs-test: use anchors in yaml config files
[vpp.git] / extras / hs-test / topo-containers / single.yaml
index e0fea70..9ecdc90 100644 (file)
@@ -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