Files
ethereum-rpc-docker/arb-opencampuscodex.yml
2024-06-17 09:58:51 +02:00

58 lines
2.6 KiB
YAML

version: '3.1'
services:
arb-opencampuscodex:
image: 'offchainlabs/nitro-node:${NITRO_VERSION:-v3.0.0-e6f81cb}'
stop_grace_period: 3m
user: root
volumes:
- 'arb-opencampuscodex:/persistent'
- './arb/arb-sepolia/opencampuscodex/baseConfig.json:/baseConfig.json'
expose:
- 8547 # http + ws
command:
- --conf.file=/baseConfig.json
- --persistent.ancient=/persistent/ancient
- --persistent.chain=/persistent/chain
- --persistent.global-config=/persistent/global-config
- --execution.caching.archive=true
- --execution.forwarding-target=https://rpc.open-campus-codex.gelato.digital
- --node.feed.input.url=wss://feed.open-campus-codex.gelato.digital
- --parent-chain.connection.url=${OPENCAMPUSCODEX_PARENT_RPC}
- --http.addr=0.0.0.0
- --http.port=8547
- --http.vhosts=*
- --http.corsdomain=*
- --http.api=eth,net,web3,arb,txpool,debug
- --ws.port=8547
- --ws.addr=0.0.0.0
- --ws.origins=*
- --ws.api=eth,net,web3,arb,txpool,debug
- --node.data-availability.enable=true
- --node.data-availability.sequencer-inbox-address=0xe347C1223381b9Dcd6c0F61cf81c90175A7Bae77
- --node.data-availability.parent-chain-node-url=${OPENCAMPUSCODEX_PARENT_RPC}
- --node.data-availability.rest-aggregator.enable=true
- --node.data-availability.rest-aggregator.urls=https://das.open-campus-codex.gelato.digital
- --metrics
- --metrics-server.addr=0.0.0.0
- --metrics-server.port=6070
- --log-type=json
- --node.sequencer=false
- --execution.sequencer.enable=false
- --node.staker.enable=false
- --node.batch-poster.enable=false
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.opencampuscodex-stripprefix.stripprefix.prefixes=/opencampuscodex"
- "traefik.http.services.opencampuscodex.loadbalancer.server.port=8547"
- "traefik.http.routers.opencampuscodex.entrypoints=websecure"
- "traefik.http.routers.opencampuscodex.tls.certresolver=myresolver"
- "traefik.http.routers.opencampuscodex.rule=Host(`$DOMAIN`) && PathPrefix(`/opencampuscodex`)"
- "traefik.http.routers.opencampuscodex.middlewares=opencampuscodex-stripprefix, ipwhitelist"
networks:
- chains
volumes:
arb-opencampuscodex: