2b1902b29223aa971e70abd2bdccfdfc5b15bd5a
[vpp.git] / extras / hs-test / topo-containers / ns.yaml
1 ---
2 volumes:
3   - volume: &shared-vol
4       host-dir: /tmp/shared-vol
5
6 # $HST_DIR will be replaced during runtime by path to hs-test directory
7 containers:
8   - name: "vpp"
9     volumes:
10       - <<: *shared-vol
11         container-dir: "/tmp/vpp"
12         is-default-work-dir: true
13   - name: "envoy"
14     volumes:
15       - <<: *shared-vol
16         container-dir: "/tmp/vpp-envoy"
17         is-default-work-dir: true
18       - host-dir: "$HST_DIR/resources/envoy"
19         container-dir: "/tmp"
20     vars:
21       - name: "ENVOY_UID"
22         value: "0"
23       - name: "VCL_CONFIG"
24         value: "/tmp/vcl.conf"
25     image: "envoyproxy/envoy-contrib:v1.21-latest"
26     extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
27     is-optional: true