nim-waku-bridge: fix RPC port access and RPC script

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-03-10 14:11:19 +01:00
parent a95bc51918
commit 75fb7b0a8c
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ services:
--devp2p-tcp-port={{ nim_waku_bridge_devp2p_port }}
--nat=extip:{{ nim_waku_bridge_public_address }}
--rpc
--rpc-address={{ nim_waku_bridge_rpc_tcp_addr }}
--rpc-address=0.0.0.0
--rpc-port={{ nim_waku_bridge_rpc_tcp_port }}
--metrics-server
--metrics-server-port={{ nim_waku_bridge_metrics_port }}

View File

@ -28,7 +28,7 @@ PAYLOAD="{
}"
# The jq script checks if error exists and adjusts exit code.
curl -f -s -X POST \
curl -sSf -X POST \
-H "Content-type:application/json" \
--data "${PAYLOAD}" \
"${URL}" | \