Skip to content

Commit

Permalink
Update security path
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimog01 committed Sep 1, 2023
1 parent 55e03f2 commit 85a83e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion op-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG UPSTREAM_VERSION

FROM us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:${UPSTREAM_VERSION}

COPY /security /config/security
COPY /security /security
COPY entrypoint.sh /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
8 changes: 4 additions & 4 deletions op-node/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ esac

case $L2_CLIENT in
"op-geth.dnp.dappnode.eth")
L2_ENGINE="http://op-geth.dnp.dappnode:8551"
L2_ENGINE="http://op-geth.dappnode:8551"
JWT_PATH="/config/security/op-geth/jwtsecret.hex"
;;
"op-erigon.dnp.dappnode.eth")
L2_ENGINE="http://op-erigon.dnp.dappnode:8551"
L2_ENGINE="http://op-erigon.dappnode:8551"
JWT_PATH="/config/security/op-erigon/jwtsecret.hex"
;;
*)
Expand All @@ -37,10 +37,10 @@ case $L2_CLIENT in
;;
esac

op-node --l1=$L1_RPC \
exec op-node --network=mainnet \
--l1=$L1_RPC \
--l2=$L2_ENGINE \
--l2.jwt-secret=$JWT_PATH \
--network=mainnet \
--rpc.addr=0.0.0.0 \
--rpc.port=9545 \
${EXTRA_FLAGS}

0 comments on commit 85a83e5

Please sign in to comment.