-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.da.celestia.yml
More file actions
114 lines (110 loc) · 3.35 KB
/
docker-compose.da.celestia.yml
File metadata and controls
114 lines (110 loc) · 3.35 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
114
---
services:
jwt-init-fullnode:
container_name: jwt-init-fullnode
image: alpine:3.22.0
volumes:
- jwttoken-fullnode:/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-fullnode:
container_name: ev-reth-fullnode
image: ghcr.io/evstack/ev-reth:v0.1.0
depends_on:
jwt-init-fullnode:
condition: service_completed_successfully
env_file: .env
ports:
- $FULLNODE_EV_RETH_RPC_PORT:8545
- $FULLNODE_EV_RETH_PROMETHEUS_PORT:9001
restart: always
volumes:
- ../single-sequencer/genesis.json:/root/genesis.json:ro
- ./entrypoint.ev-reth.sh:/entrypoint.sh
- jwttoken-fullnode:/root/jwt:ro
- ev-reth-fullnode-data:/root/reth
- ../../lib/logging.sh:/usr/local/lib/logging.sh:ro
entrypoint: /entrypoint.sh
command:
- 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=all
- --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
fullnode:
container_name: fullnode
image: ghcr.io/evstack/ev-node-evm:main
ports:
- $FULLNODE_EV_NODE_RPC_PORT:7331
- $FULLNODE_EV_NODE_PROMETHEUS_PORT:26660
restart: always
depends_on:
ev-reth-fullnode:
condition: service_started
volumes:
- fullnode-data:/root/.evm
- jwttoken-fullnode:/root/jwt:ro
- sequencer-export:/volumes/sequencer_export
- ./entrypoint.fullnode.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
environment:
- EVM_ENGINE_URL=http://ev-reth-fullnode:8551
- EVM_ETH_URL=http://ev-reth-fullnode:8545
- EVM_JWT_SECRET_FILE=/root/jwt/jwt.hex
- EVM_BLOCK_TIME=500ms
- DA_BLOCK_TIME=30s
- DA_ADDRESS=http://celestia-node:26658
- DA_HEADER_NAMESPACE=${FULLNODE_DA_HEADER_NAMESPACE}
- DA_DATA_NAMESPACE=${FULLNODE_DA_DATA_NAMESPACE}
- DA_START_HEIGHT=${FULLNODE_DA_START_HEIGHT}
networks:
- evstack_shared
volumes:
jwttoken-fullnode:
driver: local
ev-reth-fullnode-data:
driver: local
fullnode-data:
driver: local
sequencer-export:
external: true
name: sequencer-export
networks:
evstack_shared:
external: true