Files
ethereum-rpc-docker/arbitrum-nova-fullnode.yml
Sebastian 4a006efd6e gascap
2024-05-20 14:58:39 +02:00

44 lines
1.9 KiB
YAML

version: '3.1'
services:
arbitrum-nova-fullnode:
image: offchainlabs/nitro-node:${NITRO_VERSION:-v2.3.1-26fad6f}
stop_grace_period: 3m
user: root
volumes:
- 'arbitrum-nova-fullnode_data:/arbitrum-node'
- './tmp/arbitrum-nova-fullnode:/tmp'
expose:
- 8547 # http + ws
command:
- --init.url=https://snapshot.arbitrum.foundation/nova/nitro-pruned.tar
- --node.data-availability.enable
- --node.staker.enable=false
- --persistent.chain=/arbitrum-node/data/
- --persistent.global-config=/arbitrum-node/
- --parent-chain.connection.url=${ARBITRUM_L1_URL}
- --parent-chain.blob-client.beacon-url=${ARBITRUM_L1_BEACON_URL}
- --chain.id=42170
- --execution.rpc.gas-cap=600000000
- --http.api=net,web3,eth,debug
- --http.corsdomain=*
- --http.addr=0.0.0.0
- --http.vhosts=*
- --ws.port=8547
- --ws.addr=0.0.0.0
- --ws.origins=*
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.arbitrum-nova-stripprefix.stripprefix.prefixes=/arbitrum-nova-fullnode"
- "traefik.http.services.arbitrum-nova.loadbalancer.server.port=8547"
- "traefik.http.routers.arbitrum-nova.entrypoints=websecure"
- "traefik.http.routers.arbitrum-nova.tls.certresolver=myresolver"
- "traefik.http.routers.arbitrum-nova.rule=Host(`$DOMAIN`) && PathPrefix(`/arbitrum-nova-fullnode`)"
- "traefik.http.routers.arbitrum-nova.middlewares=arbitrum-nova-stripprefix, ipwhitelist"
networks:
- chains
volumes:
arbitrum-nova-fullnode_data: