-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 1.11 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
services:
mainnet-reth:
image: ghcr.io/fraxfinance/fraxtal-op-reth:v2.1.0-frax-1.3.4
ports:
- 8545:8545
- 8546:8546
- 30303:30303/tcp
- 30303:30303/udp
entrypoint: ["reth-entrypoint"]
healthcheck:
test: ["CMD", "curl", "-sf", "-X", "POST", "-H", "Content-Type: application/json", "-d", "{\"jsonrpc\":\"2.0\",\"method\":\"net_version\",\"params\":[],\"id\":1}", "http://localhost:8545"]
interval: 5s
timeout: 10s
retries: 100
env_file: .env
volumes:
- ./mainnet/data/op-reth:/data
- ./reth-entrypoint.sh:/bin/reth-entrypoint
mainnet-node:
image: ghcr.io/fraxfinance/fraxtal-op-node:v1.16.12-frax-1.2.1
ports:
- 7545:8545
- 9222:9222/tcp
- 9222:9222/udp
entrypoint: ["node-entrypoint"]
depends_on:
mainnet-reth:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8545"]
interval: 5s
timeout: 10s
retries: 100
env_file: .env
volumes:
- ./mainnet/rollup.json:/data/rollup.json:ro
- ./node-entrypoint.sh:/bin/node-entrypoint