forked from taikoxyz/simple-taiko-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
122 lines (117 loc) · 2.96 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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
x-logging: &logging
logging:
options:
max-size: 10m
max-file: "3"
services:
l2_execution_engine:
image: nethswitchboard/taiko-geth:e2e
restart: unless-stopped
pull_policy: always
env_file:
- .env
stop_grace_period: 3m
volumes:
- l2_execution_engine_data:/data/taiko-geth
- ~/taiko-geth/genesis.json:/data/taiko-geth/genesis.json
ports:
- "${PORT_L2_EXECUTION_ENGINE_METRICS}:6060"
- "${PORT_L2_EXECUTION_ENGINE_HTTP}:8545"
- "${PORT_L2_EXECUTION_ENGINE_WS}:8546"
- "${PORT_L2_EXECUTION_ENGINE_P2P}:${PORT_L2_EXECUTION_ENGINE_P2P}"
- "${PORT_L2_EXECUTION_ENGINE_P2P}:${PORT_L2_EXECUTION_ENGINE_P2P}/udp"
command: |
--taiko
--networkid "${CHAIN_ID}"
--gcmode archive
--datadir /data/taiko-geth
--metrics
--metrics.addr "0.0.0.0"
--authrpc.addr "0.0.0.0"
--authrpc.vhosts "*"
--http
--http.api debug,eth,net,web3,txpool,taiko
--http.addr "0.0.0.0"
--http.vhosts "*"
--ws
--ws.api debug,eth,net,web3,txpool,taiko
--ws.addr "0.0.0.0"
--ws.origins "*"
--gpo.defaultprice "10000000"
--port ${PORT_L2_EXECUTION_ENGINE_P2P}
--discovery.port ${PORT_L2_EXECUTION_ENGINE_P2P}
--maxpeers ${MAXPEERS:-50}
--maxpendpeers ${MAXPENDPEERS:-0}
${GETH_ADDITIONAL_ARGS:-}
<<: *logging
profiles:
- l2_execution_engine
- prover
- proposer
taiko_client_driver:
image: nethswitchboard/taiko-client:e2e
restart: unless-stopped
pull_policy: always
depends_on:
- l2_execution_engine
env_file:
- .env
volumes:
- l2_execution_engine_data:/data/taiko-geth
- ./script:/script
- ~/taiko-geth/genesis.json:/data/taiko-geth/genesis.json
entrypoint:
- /bin/sh
- -c
- "/script/start-driver.sh"
<<: *logging
profiles:
- l2_execution_engine
- prover
- proposer
ports:
- "1235:1235"
taiko_client_prover_relayer:
image: nethswitchboard/taiko-client:e2e
restart: unless-stopped
pull_policy: always
depends_on:
- l2_execution_engine
- taiko_client_driver
ports:
- "${PORT_PROVER_SERVER}:9876"
env_file:
- .env
volumes:
- ./script:/script
entrypoint:
- /bin/sh
- -c
- "/script/start-prover-relayer.sh"
<<: *logging
profiles:
- prover
taiko_client_proposer:
image: nethswitchboard/taiko-client:e2e
restart: unless-stopped
pull_policy: always
depends_on:
- l2_execution_engine
- taiko_client_driver
env_file:
- .env
volumes:
- l2_execution_engine_data:/data/taiko-geth
- ./script:/script
- ~/taiko-geth/genesis.json:/data/taiko-geth/genesis.json
entrypoint:
- /bin/sh
- -c
- "/script/start-proposer.sh"
<<: *logging
profiles:
- proposer
ports:
- "1234:1234"
volumes:
l2_execution_engine_data: