forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
replica.yml
47 lines (46 loc) · 1.08 KB
/
replica.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
---
version: "3.4"
x-logging: &logging
logging:
driver: json-file
options:
max-size: 10m
max-file: "3"
services:
data-transport-layer:
image: ethereumoptimism/data-transport-layer:${DTL_IMAGE_TAG:-latest}
restart: ${RESTART}
env_file:
- ${SHARED_ENV_PATH}/data-transport-layer.env
- .env
volumes:
- dtl:/db
<<: *logging
l2geth-replica:
image: ethereumoptimism/l2geth:${L2GETH_IMAGE_TAG:-latest}
restart: ${RESTART}
stop_grace_period: 3m
entrypoint:
- /bin/sh
- -c
#- "sleep infinity"
- "/scripts/$GETH_INIT_SCRIPT && /scripts/l2geth-replica-start.sh"
env_file:
- ${SHARED_ENV_PATH}/l2geth-replica.env
- .env
volumes:
- geth:/geth
- ../scripts/:/scripts/
<<: *logging
replica-healthcheck:
# TODO: Update this to latest when we fix the environment variables
image: ethereumoptimism/replica-healthcheck:${HC_IMAGE_TAG:-1.0.6}
restart: ${RESTART}
env_file:
- .env
volumes:
- ../scripts/:/scripts/
<<: *logging
volumes:
dtl:
geth: