File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ COPY --from=assets ${ASSETS_DIR}/ ${ASSETS_DIR}/
5252
5353# Placed here to rebuild less layers
5454ENV CHAIN_PORT=${CHAIN_PORT} \
55- SHUTTER_P2P_LISTENADDRESSES="/ip4/0.0.0.0/tcp/${KEYPER_PORT}" \
55+ SHUTTER_P2P_LISTENADDRESSES="/ip4/0.0.0.0/tcp/${KEYPER_PORT},/ip4/0.0.0.0/udp/${KEYPER_PORT}/quic-v1 " \
5656 NETWORK=${NETWORK}
5757
5858ENTRYPOINT ["supervisord" , "-c" , "/etc/supervisord.conf" ]
Original file line number Diff line number Diff line change @@ -10,7 +10,12 @@ echo "[INFO | configure] Calculating keyper configuration values..."
1010
1111SUPPORTED_NETWORKS=" gnosis"
1212
13- export SHUTTER_P2P_ADVERTISEADDRESSES=" [\" /ip4/${_DAPPNODE_GLOBAL_PUBLIC_IP} /tcp/${KEYPER_PORT} \" ]"
13+ # Conditionally add square brackets to SHUTTER_P2P_LISTENADDRESSES
14+ if [[ ! " $SHUTTER_P2P_LISTENADDRESSES " =~ ^\[ .* \] $ ]]; then
15+ export SHUTTER_P2P_LISTENADDRESSES=" [$SHUTTER_P2P_LISTENADDRESSES ]"
16+ fi
17+
18+ export SHUTTER_P2P_ADVERTISEADDRESSES=" [\" /ip4/${_DAPPNODE_GLOBAL_PUBLIC_IP} /tcp/${KEYPER_PORT} \" , \" /ip4/${_DAPPNODE_GLOBAL_PUBLIC_IP} /udp/${KEYPER_PORT} /quic-v1\" ]"
1419export SHUTTER_BEACONAPIURL=$( get_beacon_api_url_from_global_env " $NETWORK " " $SUPPORTED_NETWORKS " )
1520export SHUTTER_GNOSIS_NODE_CONTRACTSURL=http://execution.gnosis.dncore.dappnode:8545
1621export SHUTTER_GNOSIS_NODE_ETHEREUMURL=$( get_execution_ws_url_from_global_env " $NETWORK " " $SUPPORTED_NETWORKS " )
You can’t perform that action at this time.
0 commit comments