-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose-sepolia.yml
132 lines (125 loc) · 3.29 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
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
123
124
125
126
127
128
129
130
131
132
services:
kroma-geth:
container_name: kroma-geth
image: kromanetwork/geth:${IMAGE_TAG__KROMA_GETH}
restart: unless-stopped
stop_grace_period: 50s
env_file:
- envs/sepolia/geth.env
entrypoint:
- /bin/sh
- /.kroma/entrypoint.sh
ports:
- 6060:6060
- 8545:8545
- 8546:8546
- 8551:8551
- 30304:30304/tcp
- 30303:30303/udp
volumes:
- db-sepolia:/.kroma/db
- ./keys/jwt-secret.txt:/.kroma/keys/jwt-secret.txt
- ./config/sepolia/genesis.json:/.kroma/config/genesis.json
- ./scripts/entrypoint.sh:/.kroma/entrypoint.sh
profiles:
- fullnode
- validator
- validator+proxy
kroma-node:
depends_on:
- kroma-geth
container_name: kroma-node
image: kromanetwork/node:${IMAGE_TAG__KROMA_NODE}
restart: unless-stopped
stop_grace_period: 50s
env_file:
- envs/sepolia/node.env
ports:
- 9545:8545
- 7300:7300
- 9003:9003/tcp
- 9003:9003/udp
volumes:
- ./keys/p2p-node-key.txt:/.kroma/keys/p2p-node-key.txt
- ./keys/jwt-secret.txt:/.kroma/keys/jwt-secret.txt
- ./config/sepolia/rollup.json:/.kroma/config/rollup.json
profiles:
- fullnode
- validator
- validator+proxy
kroma-validator:
depends_on:
- kroma-node
container_name: kroma-validator
image: kromanetwork/validator:${IMAGE_TAG__KROMA_VALIDATOR}
restart: unless-stopped
stop_grace_period: 50s
env_file:
- envs/sepolia/validator.env
profiles:
- validator
- validator+proxy
kroma-prover-proxy:
container_name: kroma-prover-proxy
image: kromanetwork/prover-proxy:${IMAGE_TAG__KROMA_PROVER_PROXY}
restart: unless-stopped
stop_grace_period: 50s
env_file:
- envs/sepolia/prover-proxy.env
ports:
- 6000:6000
volumes:
- db-sepolia:/.prover/proofs
profiles:
- validator+proxy
# Because kroma-prover requires a lot of resources,
# It is recommended to run it on a different server rather than on the same server.
kroma-prover:
container_name: kroma-prover
image: kromanetwork/prover:${IMAGE_TAG__KROMA_PROVER}
restart: unless-stopped
stop_grace_period: 50s
env_file:
- envs/sepolia/prover.env
ports:
- 3030:3030
entrypoint:
- /bin/sh
- -c
- './prover-server --endpoint 0.0.0.0:3030'
volumes:
- ./data:/usr/src/kroma-prover/out_proof
- ./params/kzg_params:/usr/src/kroma-prover/kzg_params
profiles:
- prover
prometheus:
container_name: kroma-prometheus
image: prom/prometheus
restart: unless-stopped
ports:
- '9090:9090'
volumes:
- ./config/monitoring/prometheus.yml:/etc/prometheus/prometheus.yml
- db-prometheus:/prometheus
command:
- --config.file=/etc/prometheus/prometheus.yml
profiles:
- monitoring
grafana:
container_name: kroma-grafana
image: grafana/grafana
restart: unless-stopped
ports:
- '3000:3000'
depends_on:
- prometheus
volumes:
- db-grafana:/var/lib/grafana
- ./config/monitoring/provisioning:/etc/grafana/provisioning
- ./config/monitoring/grafana.ini:/etc/grafana/grafana.ini
profiles:
- monitoring
volumes:
db-sepolia:
db-prometheus:
db-grafana: