Skip to content

Commit

Permalink
Revert "try to enable external ip advertisement for minimal compose"
Browse files Browse the repository at this point in the history
This reverts commit 0b29e24.
  • Loading branch information
qrkourier committed Jan 9, 2024
1 parent 0ef629c commit 8d9b8e5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions quickstart/docker/minimal/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ services:
# this allows other containers to use the external DNS name to reach the quickstart container inside the docker
# network
aliases:
- ${EXTERNAL_DNS:-${EXTERNAL_IP:-null}}
- ${EXTERNAL_DNS:-null}
entrypoint:
- bash
- -euc
- |
ZITI_CMD+=" --ctrl-address ${EXTERNAL_DNS:-${EXTERNAL_IP:-127.0.0.1}}"\
" --router-address ${EXTERNAL_DNS:-${EXTERNAL_IP:-127.0.0.1}}"\
ZITI_CMD+=" --ctrl-address ${EXTERNAL_DNS:-127.0.0.1}"\
" --router-address ${EXTERNAL_DNS:-127.0.0.1}"\
" --password ${ZITI_PWD:-admin}"
echo "DEBUG: run command is: ziti $${@} $${ZITI_CMD}"
exec ziti "$${@}" $${ZITI_CMD}
Expand All @@ -47,8 +47,4 @@ services:
# define a custom network so that we can also define a DNS alias for the quickstart container
networks:
quickstart:
driver: bridge
driver_opts:
com.docker.network.bridge.enable_icc: "true"
com.docker.network.bridge.enable_ip_masquerade: "true"
com.docker.network.bridge.hairpin_mode: "true"
driver: bridge

0 comments on commit 8d9b8e5

Please sign in to comment.