-
Notifications
You must be signed in to change notification settings - Fork 56
/
docker-compose.yml
47 lines (45 loc) · 1.16 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
41
42
43
44
45
46
47
volumes:
shared:
services:
execution-client:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101408.0
env_file:
- .env
- .env.sepolia
ports:
- 30303:30303/udp
- 30303:30303/tcp
- 8545:8545/tcp
- 8546:8546/tcp
volumes:
- ${HOST_DATA_DIR}:/data
- shared:/shared
- ./chainconfig:/chainconfig
- ./op-geth-entrypoint.sh:/entrypoint.sh
healthcheck:
start_interval: 5s
start_period: 240s
test: wget --no-verbose --tries=1 --spider http://localhost:8545 || exit 1
restart: always
entrypoint: /entrypoint.sh
op-node:
image: us-docker.pkg.dev/oplabs-tools-artifacts/images/op-node:v1.9.1
env_file:
- .env
- .env.sepolia
ports:
- 9222:9222/udp
- 9222:9222/tcp
- 9545:9545/tcp
volumes:
- ${HOST_NODE_DATA_DIR}:/data
- shared:/shared
- ./chainconfig:/chainconfig
healthcheck:
start_interval: 5s
start_period: 240s
test: wget --no-verbose --tries=1 --spider http://localhost:9545 || exit 1
depends_on:
execution-client:
condition: service_healthy
restart: always