Open GRPC port
This commit is contained in:
parent
1c1d2e742e
commit
04c13cb880
@ -102,6 +102,7 @@ order to avoid conflicts. Here is an overview of the ports used:
|
||||
| 1319 | wasmd LCD API | Manual Stargate debugging |
|
||||
| 4444 | socketserver | @cosmjs/sockets tests |
|
||||
| 4445 | socketserver slow | @cosmjs/sockets tests |
|
||||
| 9090 | simapp gRPC | Manual Stargate debugging |
|
||||
| 11133 | Tendermint 0.33 RPC | @cosmjs/tendermint-rpc tests |
|
||||
| 11134 | Tendermint 0.34 RPC | @cosmjs/tendermint-rpc tests |
|
||||
| 26658 | simapp Tendermint RPC | Stargate client tests |
|
||||
|
||||
@ -7,6 +7,8 @@ TENDERMINT_PORT_GUEST="26657"
|
||||
TENDERMINT_PORT_HOST="26658"
|
||||
API_PORT_GUEST="1317"
|
||||
API_PORT_HOST="1318"
|
||||
GRPC_PORT_GUEST="9090"
|
||||
GRPC_PORT_HOST="9090"
|
||||
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
# shellcheck source=./env
|
||||
@ -25,6 +27,7 @@ docker run --rm \
|
||||
--name "$CONTAINER_NAME" \
|
||||
-p "$TENDERMINT_PORT_HOST":"$TENDERMINT_PORT_GUEST" \
|
||||
-p "$API_PORT_HOST":"$API_PORT_GUEST" \
|
||||
-p "$GRPC_PORT_HOST":"$GRPC_PORT_GUEST" \
|
||||
--mount type=bind,source="$SCRIPT_DIR/template",target=/template \
|
||||
--mount type=volume,source=simapp_data,target=/root \
|
||||
"$REPOSITORY:$VERSION" \
|
||||
|
||||
@ -7,6 +7,8 @@ TENDERMINT_PORT_GUEST="26657"
|
||||
TENDERMINT_PORT_HOST="26658"
|
||||
API_PORT_GUEST="1317"
|
||||
API_PORT_HOST="1318"
|
||||
GRPC_PORT_GUEST="9090"
|
||||
GRPC_PORT_HOST="9090"
|
||||
|
||||
SCRIPT_DIR="$(realpath "$(dirname "$0")")"
|
||||
# shellcheck source=./env
|
||||
@ -25,6 +27,7 @@ docker run --rm \
|
||||
--name "$CONTAINER_NAME" \
|
||||
-p "$TENDERMINT_PORT_HOST":"$TENDERMINT_PORT_GUEST" \
|
||||
-p "$API_PORT_HOST":"$API_PORT_GUEST" \
|
||||
-p "$GRPC_PORT_HOST":"$GRPC_PORT_GUEST" \
|
||||
--mount type=bind,source="$SCRIPT_DIR/template",target=/template \
|
||||
--mount type=volume,source=simapp_data,target=/root \
|
||||
"$REPOSITORY:$VERSION" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user