Skip to content

Commit

Permalink
revert experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Dec 12, 2024
1 parent 4e52bc5 commit 912c72c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/docker.test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ for BIN in "${BINS[@]}"; do
done

: "${I_AM_ROBOT:=0}"
: "${HTTPBIN_PORT:=8080}"
: "${ZITI_CTRL_ADVERTISED_PORT:=12802}"
: "${ZITI_ROUTER_PORT:=30224}"
# : "${ZIGGY_UID:=$(id -u)}"
Expand Down Expand Up @@ -128,7 +127,7 @@ cleanup
# freshen ziti-controller, httpbin, etc. images
docker compose pull

for PORT in "${ZITI_CTRL_ADVERTISED_PORT}" "${ZITI_ROUTER_PORT}" "${HTTPBIN_PORT}"
for PORT in "${ZITI_CTRL_ADVERTISED_PORT}" "${ZITI_ROUTER_PORT}"
do
portcheck "${PORT}"
done
Expand Down Expand Up @@ -171,7 +170,7 @@ ziti edge create config "httpbin-intercept-config" intercept.v1 \
'{"protocols":["tcp"],"addresses":["httpbin.ziti.internal"], "portRanges":[{"low":80, "high":80}]}'
ziti edge create config "httpbin-host-config" host.v1 \
'{"protocol":"tcp", "address":"localhost","port":'${HTTPBIN_PORT}'}'
'{"protocol":"tcp", "address":"localhost","port":8080}'
ziti edge create service "httpbin-service" \
--configs httpbin-intercept-config,httpbin-host-config \
Expand Down

0 comments on commit 912c72c

Please sign in to comment.