-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose-mainnet.yml
47 lines (44 loc) · 1.16 KB
/
docker-compose-mainnet.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.8"
services:
dtl-mainnet:
image: metisdao/mvm-andromeda:verifier-dtl
container_name: metis-dtl
restart: unless-stopped
stop_grace_period: 2m
environment:
DATA_TRANSPORT_LAYER__L1_RPC_ENDPOINT: ${ETHEREUM_RPC_ENDPOINT:?Set Ethereum rpc endpint first}
env_file: ["dtl.env"]
ports:
- ${DTL_PORT:-7878}:7878
volumes:
- ${METIS_VERIFIER_DATADIR:-/data/metis/mainnet}/dtl:/data
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
dtl-expose:
container_name: metis-expose
build:
context: dtl-expose
dockerfile: Dockerfile
pull: true
restart: unless-stopped
ports:
- 8080:8080
l2geth-mainnet:
image: metisdao/mvm-andromeda:verifier-l2geth
container_name: metis-l2geth
restart: unless-stopped
stop_grace_period: 2m
env_file: ["l2geth.env"]
ports:
- ${VERIFIER_HTTP_PORT:-8549}:8545
- ${VERIFIER_WS_PORT:-8550}:8546
volumes:
- ${METIS_VERIFIER_DATADIR:-/data/metis/mainnet}/l2geth:/root/.ethereum
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"