Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 1 | --- |
| 2 | volumes: |
Maros Ondrejicka | f719adf | 2022-12-20 15:10:50 +0100 | [diff] [blame] | 3 | - volume: &shared-vol |
| 4 | host-dir: shared-vol |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 5 | |
| 6 | # $HST_DIR will be replaced during runtime by path to hs-test directory |
| 7 | containers: |
| 8 | - name: "vpp" |
| 9 | volumes: |
Maros Ondrejicka | f719adf | 2022-12-20 15:10:50 +0100 | [diff] [blame] | 10 | - <<: *shared-vol |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 11 | container-dir: "/tmp/vpp" |
| 12 | is-default-work-dir: true |
| 13 | - name: "envoy" |
| 14 | volumes: |
Filip Tehlar | f34f32f | 2023-01-16 10:21:29 +0100 | [diff] [blame^] | 15 | - host-dir: "$HST_DIR/resources/envoy/proxy.yaml" |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 16 | container-dir: "/etc/envoy/envoy.yaml" |
Maros Ondrejicka | f719adf | 2022-12-20 15:10:50 +0100 | [diff] [blame] | 17 | - <<: *shared-vol |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 18 | container-dir: "/tmp/vpp-envoy" |
| 19 | is-default-work-dir: true |
Filip Tehlar | f34f32f | 2023-01-16 10:21:29 +0100 | [diff] [blame^] | 20 | - host-dir: "$HST_DIR/resources/envoy" |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 21 | 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 Tehlar | 3f95143 | 2023-01-13 21:33:43 +0100 | [diff] [blame] | 28 | extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml" |
Maros Ondrejicka | db823ed | 2022-12-14 16:30:04 +0100 | [diff] [blame] | 29 | is-optional: true |