Skip to content

Commit 9bae7f4

Browse files
authored
chore: lumen entrypoint in docker compose (#2398)
## Overview Better readability and maintainability for lumen command thanks to supporting standard unix binaries on the lumen container image cf evstack/ev-reth@bbca148 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the container startup command style in the service configuration for improved command execution handling. No changes to parameters or functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 019b2bc commit 9bae7f4

1 file changed

Lines changed: 24 additions & 47 deletions

File tree

apps/evm/single/docker-compose.yml

Lines changed: 24 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,54 +15,31 @@ services:
1515
- ./chain:/root/chain:ro
1616
- ./jwttoken:/root/jwt:ro
1717
- logs:/root/logs
18+
entrypoint: /bin/sh -c
1819
command:
19-
- node
20-
- --chain
21-
- /root/chain/genesis.json
22-
- --metrics
23-
- 0.0.0.0:9001
24-
- --log.file.directory
25-
- /root/logs
26-
- --authrpc.addr
27-
- 0.0.0.0
28-
- --authrpc.port
29-
- "8551"
30-
- --authrpc.jwtsecret
31-
- /root/jwt/jwt.hex
32-
- --http
33-
- --http.addr
34-
- 0.0.0.0
35-
- --http.port
36-
- "8545"
37-
- --http.api
38-
- eth,net,web3,txpool
39-
- --ws
40-
- --ws.addr
41-
- 0.0.0.0
42-
- --ws.port
43-
- "8546"
44-
- --ws.api
45-
- eth,net,web3
46-
- --engine.persistence-threshold
47-
- "0"
48-
- --engine.memory-block-buffer-target
49-
- "0"
50-
- --disable-discovery
51-
- --txpool.pending-max-count
52-
- "200000"
53-
- --txpool.pending-max-size
54-
- "200"
55-
- --txpool.queued-max-count
56-
- "200000"
57-
- --txpool.queued-max-size
58-
- "200"
59-
- --txpool.max-account-slots
60-
- "2048"
61-
- --txpool.max-new-txns
62-
- "2048"
63-
- --txpool.additional-validation-tasks
64-
- "16"
65-
- --rollkit.enable
20+
- |
21+
lumen node \
22+
--chain /root/chain/genesis.json \
23+
--metrics 0.0.0.0:9001 \
24+
--log.file.directory /root/logs \
25+
--authrpc.addr 0.0.0.0 \
26+
--authrpc.port 8551 \
27+
--authrpc.jwtsecret /root/jwt/jwt.hex \
28+
--http --http.addr 0.0.0.0 --http.port 8545 \
29+
--http.api eth,net,web3,txpool \
30+
--ws --ws.addr 0.0.0.0 --ws.port 8546 \
31+
--ws.api eth,net,web3 \
32+
--engine.persistence-threshold 0 \
33+
--engine.memory-block-buffer-target 0 \
34+
--disable-discovery \
35+
--txpool.pending-max-count 200000 \
36+
--txpool.pending-max-size 200 \
37+
--txpool.queued-max-count 200000 \
38+
--txpool.queued-max-size 200 \
39+
--txpool.max-account-slots 2048 \
40+
--txpool.max-new-txns 2048 \
41+
--txpool.additional-validation-tasks 16 \
42+
--rollkit.enable
6643
networks:
6744
- rollkit-network
6845

0 commit comments

Comments
 (0)