forked from MetisProtocol/metis-replica-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-mainnet.yml
74 lines (71 loc) · 2.23 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3"
services:
dtl:
image: metisdao/mvm-andromeda:dtl
entrypoint: ./dtl.sh
restart: unless-stopped
stop_grace_period: 30s
environment:
URL: https://metis-us-east-2-mainnet-json.s3.us-east-2.amazonaws.com/addresses.json
DATA_TRANSPORT_LAYER__L1_RPC_ENDPOINT: CHANGE TO YOUR L1 RPC ENDPOINT
DATA_TRANSPORT_LAYER__L2_RPC_ENDPOINT: "https://andromeda.metis.io/?owner=1088"
DATA_TRANSPORT_LAYER__SYNC_FROM_L1: "false"
DATA_TRANSPORT_LAYER__SYNC_FROM_L2: "true"
DATA_TRANSPORT_LAYER__L2_CHAIN_ID: "1088"
DATA_TRANSPORT_LAYER__DB_PATH: /data/db
DATA_TRANSPORT_LAYER__SERVER_PORT: "7878"
DATA_TRANSPORT_LAYER__TRANSACTIONS_PER_POLLING_INTERVAL: "1000"
DATA_TRANSPORT_LAYER__CONFIRMATIONS: "0"
DATA_TRANSPORT_LAYER__POLLING_INTERVAL: "100"
DATA_TRANSPORT_LAYER__LOGS_PER_POLLING_INTERVAL: "2000"
DATA_TRANSPORT_LAYER__DANGEROUSLY_CATCH_ALL_ERRORS: "true"
DATA_TRANSPORT_LAYER__SERVER_HOSTNAME: "0.0.0.0"
expose:
- 7878
volumes:
- $PWD/chaindata/dtl:/data
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
l2geth:
image: metisdao/mvm-andromeda:l2geth
entrypoint: sh ./geth.sh
restart: unless-stopped
stop_grace_period: 2m
env_file:
- ./geth.env
environment:
ROLLUP_BACKEND: "l2"
URL: https://metis-us-east-2-mainnet-json.s3.us-east-2.amazonaws.com/addresses.json
L2GETH_GENESIS_URL: https://metis-us-east-2-mainnet-json.s3.us-east-2.amazonaws.com/state-dump.latest.json
ROLLUP_CLIENT_HTTP: http://dtl:7878
L2_URL: https://andromeda.metis.io/?owner=1088
ETH1_CTC_DEPLOYMENT_HEIGHT: 13626959
EMERGENCY_FORK020222_NUMBER: 750000
volumes:
- $PWD/chaindata/l2geth:/root/.ethereum
- $PWD/geth.sh:/geth.sh
expose:
- 8545
ports:
- 8546:8546
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
proxy:
image: ericlee42/metis-proxy:latest
restart: unless-stopped
stop_grace_period: 30s
ports:
- 8545:8545
command:
- -timeout=10
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"