blob: fddf2d8e37a51b97d06fd5717f8e2ecadc6b133b [file] [log] [blame]
Maros Ondrejickadb823ed2022-12-14 16:30:04 +01001---
2volumes:
Maros Ondrejickaf719adf2022-12-20 15:10:50 +01003 - volume: &shared-vol
Maros Ondrejicka2908f8c2023-02-02 08:58:04 +01004 host-dir: /tmp/shared-vol
Maros Ondrejickadb823ed2022-12-14 16:30:04 +01005
6# $HST_DIR will be replaced during runtime by path to hs-test directory
7containers:
8 - name: "vpp"
9 volumes:
Maros Ondrejickaf719adf2022-12-20 15:10:50 +010010 - <<: *shared-vol
Maros Ondrejickadb823ed2022-12-14 16:30:04 +010011 container-dir: "/tmp/vpp"
12 is-default-work-dir: true
13 - name: "envoy"
14 volumes:
Filip Tehlarf34f32f2023-01-16 10:21:29 +010015 - host-dir: "$HST_DIR/resources/envoy/proxy.yaml"
Maros Ondrejickadb823ed2022-12-14 16:30:04 +010016 container-dir: "/etc/envoy/envoy.yaml"
Maros Ondrejickaf719adf2022-12-20 15:10:50 +010017 - <<: *shared-vol
Maros Ondrejickadb823ed2022-12-14 16:30:04 +010018 container-dir: "/tmp/vpp-envoy"
19 is-default-work-dir: true
Filip Tehlarf34f32f2023-01-16 10:21:29 +010020 - host-dir: "$HST_DIR/resources/envoy"
Maros Ondrejickadb823ed2022-12-14 16:30:04 +010021 container-dir: "/tmp"
22 vars:
23 - name: "ENVOY_UID"
24 value: "0"
25 - name: "VCL_CONFIG"
26 value: "/tmp/vcl.conf"
27 image: "envoyproxy/envoy-contrib:v1.21-latest"
Filip Tehlar3f951432023-01-13 21:33:43 +010028 extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
Maros Ondrejickadb823ed2022-12-14 16:30:04 +010029 is-optional: true