Configure extra multiaddr to listen on in nitro-node and bridge setup (#1)

Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)
Requires https://github.com/cerc-io/go-nitro/pull/63

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
2024-07-23 11:46:46 +00:00
committed by nabarun
parent e3a8b25850
commit fe85e74425
4 changed files with 10 additions and 1 deletions
@@ -20,6 +20,8 @@ services:
NITRO_L2_MSG_PORT: ${NITRO_L2_MSG_PORT:-3006}
NITRO_RPC_PORT: ${NITRO_RPC_PORT:-4006}
NITRO_PUBLIC_P2P_HOST: ${NITRO_PUBLIC_P2P_HOST:-127.0.0.1}
NITRO_L1_EXT_MULTIADDR: ${NITRO_L1_EXT_MULTIADDR}
NITRO_L2_EXT_MULTIADDR: ${NITRO_L2_EXT_MULTIADDR}
NITRO_PUBLIC_RPC_HOST: nitro-bridge
entrypoint: ["bash", "-c", "/app/run-bridge.sh"]
volumes:
@@ -14,6 +14,7 @@ services:
NITRO_CHAIN_URL: ${NITRO_CHAIN_URL}
NITRO_BOOTPEERS: ${NITRO_BOOTPEERS}
NITRO_PUBLIC_P2P_HOST: ${NITRO_PUBLIC_P2P_HOST:-127.0.0.1}
NITRO_EXT_MULTIADDR: ${NITRO_EXT_MULTIADDR}
NITRO_L2: ${NITRO_L2:-false}
NA_ADDRESS: ${NA_ADDRESS}
CA_ADDRESS: ${CA_ADDRESS}