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: |
| 15 | - host-dir: "$HST_DIR/envoy/proxy.yaml" |
| 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 |
| 20 | - host-dir: "$HST_DIR/envoy" |
| 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" |
| 28 | is-optional: true |