Skip to content

Commit

Permalink
look at host
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Nov 26, 2024
1 parent db69fe7 commit 9d2a10f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion spartan/releases/rough-rhino/full-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -eu

# get host arch
ARCH=$(uname -m)
IMAGE="aztecprotocol/aztec:698cd3d62680629a3f1bfc0f82604534cedbccf3-${ARCH}"

docker run --rm --network=host \
-e P2P_UDP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \
-e P2P_TCP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \
Expand Down Expand Up @@ -32,4 +36,4 @@ docker run --rm --network=host \
-e OUTBOX_CONTRACT_ADDRESS=0x1016b5aaa3270a65c315c664ecb238b6db270b64 \
-e P2P_UDP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \
-e P2P_TCP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \
aztecprotocol/aztec:rough-rhino start --node --archiver --sequencer
$IMAGE start --node --archiver --sequencer
6 changes: 5 additions & 1 deletion spartan/releases/rough-rhino/validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -eu

# get host arch
ARCH=$(uname -m)
IMAGE="aztecprotocol/aztec:698cd3d62680629a3f1bfc0f82604534cedbccf3-${ARCH}"

docker run --rm --network=host \
-e P2P_UDP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \
-e P2P_TCP_ANNOUNCE_ADDR=$PUBLIC_IP:$P2P_PORT \
Expand Down Expand Up @@ -35,4 +39,4 @@ docker run --rm --network=host \
-e OUTBOX_CONTRACT_ADDRESS=0x1016b5aaa3270a65c315c664ecb238b6db270b64 \
-e P2P_UDP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \
-e P2P_TCP_LISTEN_ADDR=0.0.0.0:$P2P_PORT \
aztecprotocol/aztec:rough-rhino start --node --archiver --sequencer
$IMAGE start --node --archiver --sequencer

0 comments on commit 9d2a10f

Please sign in to comment.