Don't open Wasmd Tendermint/p2p ports

This commit is contained in:
Simon Warta 2020-07-02 13:47:01 +02:00
parent a8265f4bad
commit fce0309ff2

View File

@ -18,12 +18,11 @@ WASMD_LOGFILE="$TMP_DIR/wasmd.log"
REST_SERVER_LOGFILE="$TMP_DIR/rest-server.log"
# This starts up wasmd
# The Tendermint port (26657) and the p2p port (26656) are not exposed since we don't need for testing
docker volume rm -f wasmd_data
docker run --rm \
--name "$CONTAINER_NAME" \
-p "$REST_PORT_HOST":"$REST_PORT_GUEST" \
-p 26657:26657 \
-p 26656:26656 \
--mount type=bind,source="$SCRIPT_DIR/template",target=/template \
--mount type=volume,source=wasmd_data,target=/root \
"$REPOSITORY:$VERSION" \