forked from charx0r/POKT_DOKT
-
Notifications
You must be signed in to change notification settings - Fork 7
/
arbitrum-archive.yml
42 lines (40 loc) · 1.69 KB
/
arbitrum-archive.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.1'
services:
arbitrum-nitro:
image: 'offchainlabs/nitro-node:v2.2.2-8f33fea'
restart: always
stop_grace_period: 30s
user: root
volumes:
- 'arbitrum-archive_data:/arbitrum-node'
expose:
- 8547
- 8548
command:
- --init.url=https://snapshot.arbitrum.io/mainnet/nitro.tar
- --execution.caching.archive
- --persistent.chain=/arbitrum-node/data/
- --persistent.global-config=/arbitrum-node/
- --execution.rpc.classic-redirect=${ARBITRUM_CLASSIC_URL:-http://arbitrum-classic:8547/}
- --parent-chain.connection.url=${ARBITRUM_L1_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"
- "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`)"
- "traefik.http.routers.arbitrum.middlewares=arbitrum-stripprefix, ipwhitelist"
networks:
- chains
volumes:
arbitrum-archive_data: