Files
ethereum-rpc-docker/arbitrum-fullnode-pebble.yml
2024-12-09 08:25:54 +01:00

45 lines
1.8 KiB
YAML

version: '3.1'
services:
arbitrum-nitro-fullnode:
image: offchainlabs/nitro-node:${NITRO_VERSION:-v3.2.1-d81324d}
stop_grace_period: 3m
user: root
volumes:
- 'arbitrum-fullnode_data:/arbitrum-node'
- './tmp/arbitrum-fullnode:/tmp'
expose:
- 8547
- 8548
command:
- --init.latest=pruned
- --chain.name=arb1
- --execution.caching.state-scheme=hash
- --persistent.db-engine=pebble
- --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=42161
- --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-stripprefix.stripprefix.prefixes=/arbitrum-fullnode"
- "traefik.http.services.arbitrum.loadbalancer.server.port=8547"
- "traefik.http.routers.arbitrum.entrypoints=websecure"
- "traefik.http.routers.arbitrum.tls.certresolver=myresolver"
- "traefik.http.routers.arbitrum.rule=Host(`$DOMAIN`) && PathPrefix(`/arbitrum-fullnode`)"
- "traefik.http.routers.arbitrum.middlewares=arbitrum-stripprefix"
networks:
- chains
volumes:
arbitrum-fullnode_data: