-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose-sepolia.yml
52 lines (50 loc) · 1.1 KB
/
docker-compose-sepolia.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
48
49
50
51
52
name: "metis-sepolia"
services:
l1dtl:
image: metisdao/dtl:v0.1.2
platform: linux/amd64
container_name: l1dtl
stop_grace_period: 30s
restart: unless-stopped
network_mode: host
env_file:
- ./sepolia/l1dtl.env
- .env
healthcheck:
test: ["CMD-SHELL", "curl http://127.0.0.1:7878"]
interval: 5s
timeout: 5s
retries: 5
start_period: 5s
volumes:
- "./chaindata/l1dtl:/data"
logging:
driver: json-file
options:
max-size: 2m
max-file: 10
l2geth:
image: metisdao/l2geth:v0.1.2
platform: linux/amd64
container_name: l2geth
restart: unless-stopped
network_mode: host
stop_grace_period: 30s
depends_on:
l1dtl:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "is-l2geth-stalled"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
env_file:
- ./sepolia/l2geth.env
volumes:
- "./chaindata/l2geth:/root/.ethereum"
logging:
driver: json-file
options:
max-size: 2m
max-file: 10