Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 1 | --- |
| 2 | volumes: |
Matus Fabian | 5b175ec | 2024-09-06 15:30:59 +0200 | [diff] [blame] | 3 | - volume: &shared-vol |
| 4 | host-dir: "$HST_VOLUME_DIR/shared-vol" |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 5 | |
| 6 | containers: |
| 7 | - name: "vpp" |
| 8 | volumes: |
Matus Fabian | 5b175ec | 2024-09-06 15:30:59 +0200 | [diff] [blame] | 9 | - <<: *shared-vol |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 10 | container-dir: "/tmp/vpp" |
| 11 | is-default-work-dir: true |
| 12 | - name: "envoy-vcl" |
| 13 | volumes: |
Matus Fabian | 5b175ec | 2024-09-06 15:30:59 +0200 | [diff] [blame] | 14 | - <<: *shared-vol |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 15 | container-dir: "/tmp/vpp-envoy" |
| 16 | is-default-work-dir: true |
| 17 | - host-dir: "$HST_DIR/resources/envoy" |
| 18 | container-dir: "/tmp" |
| 19 | vars: |
| 20 | - name: "ENVOY_UID" |
| 21 | value: "0" |
| 22 | - name: "VCL_CONFIG" |
| 23 | value: "/tmp/vcl.conf" |
| 24 | image: "envoyproxy/envoy-contrib:v1.30-latest" |
| 25 | extra-args: "--log-format [%t][%l][%g:%#]%_ --concurrency 2 -c /etc/envoy/envoy.yaml" |
| 26 | is-optional: true |
| 27 | - name: "nginx-server" |
| 28 | volumes: |
Matus Fabian | 5b175ec | 2024-09-06 15:30:59 +0200 | [diff] [blame] | 29 | - <<: *shared-vol |
Matus Fabian | 8792e5c | 2024-08-14 12:38:20 +0200 | [diff] [blame] | 30 | container-dir: "/tmp/nginx" |
| 31 | is-default-work-dir: true |
| 32 | image: "hs-test/nginx-server" |
| 33 | is-optional: true |
| 34 | - name: "curl" |
| 35 | vars: |
| 36 | - name: LD_LIBRARY_PATH |
| 37 | value: "/usr/local/lib" |
| 38 | image: "hs-test/curl" |
| 39 | is-optional: true |
| 40 | run-detached: false |