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