Skip to content

Commit

Permalink
fix: set docker network to host
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-cristino committed Jan 30, 2024
1 parent dea191f commit 4c08ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-restroom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [[ "$FILES" != "" ]]; then
FILES_PARAMS="-e FILES_DIR -v $FILES:$FILES_DIR"
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 run --network="host" --name $RESTROOM_CONTAINER_NAME --publish 3000:3000 $FILES_PARAMS $LOGGER_PARAMS -v "$CONTRACTS":"/app/contracts" --detach ghcr.io/dyne/restroom-mw:latest

while ! `echo -e "\x1dclose\x0d" | telnet localhost 3000 >/dev/null 2>/dev/null`; do
sleep 1
Expand Down

0 comments on commit 4c08ac4

Please sign in to comment.