Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (61 loc) · 1.85 KB
/
Copy pathdocker-compose.yml
File metadata and controls
64 lines (61 loc) · 1.85 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
services:
nethermind-arbitrum:
image: ${NETHERMIND_IMAGE:-nethermind/nethermind-arbitrum:0.2.1}
container_name: nethermind-arbitrum
restart: 'no'
stop_grace_period: 5m
ports:
- 20545:20545
- 20551:20551
- 30303:30303/tcp
- 30303:30303/udp
- 8008:8008
volumes:
- ./nethermind-data:/app/nethermind_db
command:
- -c=${NETWORK:-arbitrum-mainnet}
- --data-dir=/app/nethermind_db
- --JsonRpc.Host=0.0.0.0
- --JsonRpc.EngineHost=0.0.0.0
- --JsonRpc.JwtSecretFile=/app/nethermind_db/jwt.hex
networks:
- nethermind-network
healthcheck:
test:
- CMD-SHELL
- timeout 5 bash -c '</dev/tcp/localhost/20551' || exit 1
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
nitro:
image: ${NITRO_IMAGE:-offchainlabs/nitro-node:v3.10.1-d7f07be}
container_name: nitro
entrypoint: /usr/local/bin/nitro
depends_on:
nethermind-arbitrum:
condition: service_healthy
restart: 'no'
stop_grace_period: 5m
ports: []
volumes:
- ./nitro-data:/app/nitro-data
- ./nethermind-data:/nethermind-data:ro
command:
- --init.empty=true
- --persistent.global-config=/app/nitro-data
- --chain.id=${CHAIN_ID:-42161}
- --parent-chain.connection.url=${PARENT_CHAIN_RPC_URL}
- --parent-chain.blob-client.beacon-url=${PARENT_CHAIN_BEACON_URL}
- --log-level=${LOG_LEVEL:-INFO}
- --node.execution-rpc-client.url=http://nethermind-arbitrum:20551
- --node.execution-rpc-client.jwtsecret=/nethermind-data/jwt.hex
- --node.staker.enable=false
- --node.sequencer=false
- --init.validate-genesis-assertion=false
- --execution.forwarding-target=null
networks:
- nethermind-network
networks:
nethermind-network:
name: nethermind-network