Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda committed Jan 30, 2024
1 parent ef3ad05 commit b6a7369
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions start-restroom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,9 @@ fi

docker run --name $RESTROOM_CONTAINER_NAME --publish 3000:3000 $FILES_PARAMS $LOGGER_PARAMS -v "$CONTRACTS":"/app/contracts" --detach ghcr.io/dyne/restroom-mw:latest

docker inspect $RESTROOM_CONTAINER_NAME
ip a

docker ps -a
IP=`docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $RESTROOM_CONTAINER_NAME`

while ! nc -z $IP 3000; do
echo "$IP is not up"
sleep 1
done

0 comments on commit b6a7369

Please sign in to comment.