-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
40 lines (39 loc) · 1.06 KB
/
docker-compose.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
version: "3.8"
services:
mainnet-geth:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101411.1
ports:
- 8545:8545
- 8546:8546
- 30303:30303/tcp
- 30303:30303/udp
entrypoint: ["geth-entrypoint"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8545"]
interval: 5s
timeout: 10s
retries: 100
env_file: .env
volumes:
- ./mainnet/data/op-geth:/data
- ./mainnet/genesis.json:/data/genesis.json:ro
- ./geth-entrypoint.sh:/bin/geth-entrypoint
mainnet-node:
image: ghcr.io/fraxfinance/fraxtal-op-node:v1.9.5-frax-1.1.0
ports:
- 7545:8545
- 9222:9222/tcp
- 9222:9222/udp
entrypoint: ["node-entrypoint"]
depends_on:
mainnet-geth:
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