Skip to content

Commit

Permalink
stop using decommissioned option --already-initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Dec 21, 2023
1 parent 9cbda2e commit b35f212
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions quickstart/docker/minimal/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,14 @@ services:
# this allows other containers to use the external DNS name to reach the quickstart container inside the docker
# network
aliases:
- ${EXTERNAL_DNS}
- ${EXTERNAL_DNS:-null}
entrypoint:
- bash
- -euc
- |
if [[ -d /persistent/db ]]
then
echo "INFO: not initializing. Delete state directory ./persistent/ to reset quickstart."
ZITI_CMD+=" --already-initialized"
else
echo "INFO: initializing quickstart in state directory ./persistent/"
ZITI_CMD+=" --ctrl-address ${EXTERNAL_DNS:-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}"
fi
echo "DEBUG: run command is: ziti $${@} $${ZITI_CMD}"
exec ziti "$${@}" $${ZITI_CMD}
command: -- edge quickstart --home /persistent
Expand Down

0 comments on commit b35f212

Please sign in to comment.