Skip to content

Instantly share code, notes, and snippets.

@kallydev
Created March 21, 2023 15:05
Show Gist options
  • Save kallydev/c78abcd784b667991b300f9b84f46f23 to your computer and use it in GitHub Desktop.
Save kallydev/c78abcd784b667991b300f9b84f46f23 to your computer and use it in GitHub Desktop.
Arbitrum Nitro node
services:
nitro-node:
image: offchainlabs/nitro-node:v2.0.11-8e786ec
volumes:
- /data/arbitrum:/home/user/.arbitrum
ports:
- "8547:8547"
- "8548:8548"
- "9642:9642"
command:
- --init.url=file:///home/user/.arbitrum/nitro.tar
- --l1.url=https://rpc.ankr.com/eth
- --l2.chain-id=42161
- --http.addr=0.0.0.0
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=net,web3,eth,debug
- --ws.addr=0.0.0.0
- --ws.port=8548
- --ws.origins=*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment