Skip to content

Commit

Permalink
split the arb classic
Browse files Browse the repository at this point in the history
  • Loading branch information
czarly committed Sep 17, 2023
1 parent 0d59d95 commit 37cb3bd
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 29 deletions.
30 changes: 1 addition & 29 deletions arbitrum-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
- --node.caching.archive
- --persistent.chain=/arbitrum-node/data/
- --persistent.global-config=/arbitrum-node/
- --node.rpc.classic-redirect=http://arbitrum-classic:8547/
- --node.rpc.classic-redirect=${ARBITRUM_CLASSIC_URL:-http://arbitrum-classic:8547/}
- --l1.url=${ARBITRUM_L1_URL}
- --l2.chain-id=42161
- --http.api=net,web3,eth,debug
Expand All @@ -37,34 +37,6 @@ services:
- "traefik.http.routers.arbitrum.middlewares=arbitrum-stripprefix, ipwhitelist"
networks:
- chains

arbitrum-classic:
image: 'offchainlabs/arb-node:v1.4.5-e97c1a4'
restart: always
stop_grace_period: 30s
user: root
volumes:
- 'arbitrum-classic-archive_data:/root/.arbitrum/mainnet'
- './arbitrum/classic-entrypoint.sh:/entrypoint.sh'
expose:
- 8547
- 8548
entrypoint: ["/bin/bash", "/entrypoint.sh"]
command:
- --l1.url=${ARBITRUM_L1_URL}
- --l2.disable-upstream
- --node.chain-id=42161
- --node.rpc.tracing.enable
- --node.rpc.tracing.namespace=trace
- --core.checkpoint-pruning-mode=off
- --node.cache.allow-slow-lookup
- --core.checkpoint-gas-frequency=156250000
- --node.rpc.addr=0.0.0.0
restart: unless-stopped
networks:
- chains


volumes:
arbitrum-archive_data:
arbitrum-classic-archive_data:
39 changes: 39 additions & 0 deletions arbitrum-classic-archive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: '3.1'

services:
arbitrum-classic:
image: 'offchainlabs/arb-node:v1.4.5-e97c1a4'
restart: always
stop_grace_period: 30s
user: root
volumes:
- 'arbitrum-classic-archive_data:/root/.arbitrum/mainnet'
- './arbitrum/classic-entrypoint.sh:/entrypoint.sh'
expose:
- 8547
- 8548
entrypoint: ["/bin/bash", "/entrypoint.sh"]
command:
- --l1.url=${ARBITRUM_L1_URL}
- --l2.disable-upstream
- --node.chain-id=42161
- --node.rpc.tracing.enable
- --node.rpc.tracing.namespace=trace
- --core.checkpoint-pruning-mode=off
- --node.cache.allow-slow-lookup
- --core.checkpoint-gas-frequency=156250000
- --node.rpc.addr=0.0.0.0
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.arbitrum-classic-stripprefix.stripprefix.prefixes=/arbitrum-classic"
- "traefik.http.services.arbitrum-classic.loadbalancer.server.port=8547"
- "traefik.http.routers.arbitrum-classic.entrypoints=websecure"
- "traefik.http.routers.arbitrum-classic.tls.certresolver=myresolver"
- "traefik.http.routers.arbitrum-classic.rule=Host(`$DOMAIN`) && PathPrefix(`/arbitrum-classic`)"
- "traefik.http.routers.arbitrum-classic.middlewares=arbitrum-classic-stripprefix, ipwhitelist"
networks:
- chains

volumes:
arbitrum-classic-archive_data:

0 comments on commit 37cb3bd

Please sign in to comment.