-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.da.celestia.yml
More file actions
113 lines (109 loc) · 3.4 KB
/
docker-compose.da.celestia.yml
File metadata and controls
113 lines (109 loc) · 3.4 KB
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
---
services:
jwt-init-sequencer:
container_name: jwt-init-sequencer
image: alpine:3.22.0
volumes:
- jwttoken-sequencer:/jwt
healthcheck:
test: [CMD, test, -f, /jwt/jwt.hex]
interval: 5s
timeout: 5s
retries: 3
command: >
/bin/sh -c "mkdir -p /jwt &&
if [ ! -f /jwt/jwt.hex ]; then
apk add --no-cache openssl &&
openssl rand -hex 32 | tr -d '\n' > /jwt/jwt.hex;
fi"
ev-reth-sequencer:
container_name: ev-reth-sequencer
image: ghcr.io/evstack/ev-reth:v0.1.0
depends_on:
jwt-init-sequencer:
condition: service_completed_successfully
env_file: .env
ports:
- $SEQUENCER_EV_RETH_PROMETHEUS_PORT:9001
restart: always
volumes:
- ./genesis.json:/root/genesis.json:ro
- jwttoken-sequencer:/root/jwt:ro
- ev-reth-sequencer-data:/root/reth
entrypoint: /bin/sh -c
command:
- |
ev-reth node \
--ev-reth.enable \
--engine.persistence-threshold 0 \
--engine.memory-block-buffer-target 0 \
--engine.always-process-payload-attributes-on-canonical-head \
--chain /root/genesis.json \
--metrics 0.0.0.0:9001 \
--log.file.directory /root/logs \
--authrpc.addr 0.0.0.0 \
--authrpc.port 8551 \
--authrpc.jwtsecret /root/jwt/jwt.hex \
--http --http.addr 0.0.0.0 --http.port 8545 \
--http.api "admin,eth,net,web3,txpool" \
--disable-discovery \
--txpool.pending-max-count 200000 \
--txpool.pending-max-size 200 \
--txpool.queued-max-count 200000 \
--txpool.queued-max-size 200 \
--txpool.max-account-slots 2048 \
--txpool.max-new-txns 2048 \
--txpool.additional-validation-tasks 16 \
--datadir /root/reth
networks:
- evstack_shared
single-sequencer:
container_name: single-sequencer
image: ghcr.io/evstack/ev-node-evm:main
env_file: .env
ports:
- $SEQUENCER_EV_NODE_PROMETHEUS_PORT:26660
restart: always
depends_on:
ev-reth-sequencer:
condition: service_started
volumes:
- sequencer-data:/root/.evm
- jwttoken-sequencer:/root/jwt:ro
- ./passphrase:/root/passphrase:ro
- sequencer-export:/volumes/sequencer_export
- ./entrypoint.sequencer.sh:/usr/bin/entrypoint.sh
- ../../lib/logging.sh:/usr/local/lib/logging.sh:ro
command:
- start
- --evnode.rpc.address=0.0.0.0:7331
- --evnode.p2p.listen_address=/ip4/0.0.0.0/tcp/7676
- --evnode.instrumentation.prometheus
- --evnode.instrumentation.prometheus_listen_addr=:26660
- --evnode.rpc.enable_da_visualization
environment:
- EVM_ENGINE_URL=http://ev-reth-sequencer:8551
- EVM_ETH_URL=http://ev-reth-sequencer:8545
- EVM_JWT_SECRET_FILE=/root/jwt/jwt.hex
- EVM_BLOCK_TIME=500ms
- EVM_SIGNER_PASSPHRASE_FILE=/root/passphrase
- DA_BLOCK_TIME=30s
- DA_ADDRESS=http://celestia-node:26658
- DA_HEADER_NAMESPACE=${SEQUENCER_DA_HEADER_NAMESPACE}
- DA_DATA_NAMESPACE=${SEQUENCER_DA_DATA_NAMESPACE}
- DA_SIGNING_ADDRESSES=${DA_SIGNING_ADDRESSES}
networks:
- evstack_shared
volumes:
jwttoken-sequencer:
driver: local
ev-reth-sequencer-data:
driver: local
sequencer-data:
driver: local
sequencer-export:
name: sequencer-export
driver: local
networks:
evstack_shared:
external: true