consul/test/integration/connect/envoy/case-basic/setup.sh

14 lines
348 B
Bash

#!/bin/bash
set -euo pipefail
docker_consul connect envoy -bootstrap \
-proxy-id s1-sidecar-proxy \
> workdir/envoy/s1-bootstrap.json
docker_consul connect envoy -bootstrap \
-proxy-id s2-sidecar-proxy \
-admin-bind 127.0.0.1:19001 \
> workdir/envoy/s2-bootstrap.json
export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy"