Skip to content

Commit 7cba5b6

Browse files
authored
chore: lumen entrypoint in docker compose bis (#2401)
## Overview Better readability and maintainability for lumen command thanks to supporting standard unix binaries on the lumen container image cf evstack/ev-reth@bbca148 Same as #2398 but on missed docker compose files in `execution/evm/docker` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated Docker Compose service configurations to improve command execution formatting. No changes to service parameters or functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 888def9 commit 7cba5b6

2 files changed

Lines changed: 48 additions & 94 deletions

File tree

execution/evm/docker/docker-compose-full-node.yml

Lines changed: 24 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -35,54 +35,31 @@ services:
3535
- ./chain:/root/chain:ro
3636
- ./jwttoken:/root/jwt:ro
3737
- logs-full-node:/root/logs
38+
entrypoint: /bin/sh -c
3839
command:
39-
- node
40-
- --chain
41-
- /root/chain/genesis.json
42-
- --metrics
43-
- 0.0.0.0:9001
44-
- --log.file.directory
45-
- /root/logs
46-
- --authrpc.addr
47-
- 0.0.0.0
48-
- --authrpc.port
49-
- "8551"
50-
- --authrpc.jwtsecret
51-
- /root/jwt/jwt.hex
52-
- --http
53-
- --http.addr
54-
- 0.0.0.0
55-
- --http.port
56-
- "8545"
57-
- --http.api
58-
- eth,net,web3,txpool
59-
- --ws
60-
- --ws.addr
61-
- 0.0.0.0
62-
- --ws.port
63-
- "8546"
64-
- --ws.api
65-
- eth,net,web3
66-
- --engine.persistence-threshold
67-
- "0"
68-
- --engine.memory-block-buffer-target
69-
- "0"
70-
- --disable-discovery
71-
- --txpool.pending-max-count
72-
- "200000"
73-
- --txpool.pending-max-size
74-
- "200"
75-
- --txpool.queued-max-count
76-
- "200000"
77-
- --txpool.queued-max-size
78-
- "200"
79-
- --txpool.max-account-slots
80-
- "2048"
81-
- --txpool.max-new-txns
82-
- "2048"
83-
- --txpool.additional-validation-tasks
84-
- "16"
85-
- --rollkit.enable
40+
- |
41+
lumen node \
42+
--chain /root/chain/genesis.json \
43+
--metrics 0.0.0.0:9001 \
44+
--log.file.directory /root/logs \
45+
--authrpc.addr 0.0.0.0 \
46+
--authrpc.port 8551 \
47+
--authrpc.jwtsecret /root/jwt/jwt.hex \
48+
--http --http.addr 0.0.0.0 --http.port 8545 \
49+
--http.api eth,net,web3,txpool \
50+
--ws --ws.addr 0.0.0.0 --ws.port 8546 \
51+
--ws.api eth,net,web3 \
52+
--engine.persistence-threshold 0 \
53+
--engine.memory-block-buffer-target 0 \
54+
--disable-discovery \
55+
--txpool.pending-max-count 200000 \
56+
--txpool.pending-max-size 200 \
57+
--txpool.queued-max-count 200000 \
58+
--txpool.queued-max-size 200 \
59+
--txpool.max-account-slots 2048 \
60+
--txpool.max-new-txns 2048 \
61+
--txpool.additional-validation-tasks 16 \
62+
--rollkit.enable
8663
8764
volumes:
8865
logs-full-node:

execution/evm/docker/docker-compose.yml

Lines changed: 24 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -38,54 +38,31 @@ services:
3838
# environment:
3939
# - RUST_LOG=info,lumen=debug,lumen_node=debug,lumen_rollkit=debug
4040
# - RUST_BACKTRACE=1
41+
entrypoint: /bin/sh -c
4142
command:
42-
- node
43-
- --chain
44-
- /root/chain/genesis.json
45-
- --metrics
46-
- 0.0.0.0:9001
47-
- --log.file.directory
48-
- /root/logs
49-
- --authrpc.addr
50-
- 0.0.0.0
51-
- --authrpc.port
52-
- "8551"
53-
- --authrpc.jwtsecret
54-
- /root/jwt/jwt.hex
55-
- --http
56-
- --http.addr
57-
- 0.0.0.0
58-
- --http.port
59-
- "8545"
60-
- --http.api
61-
- eth,net,web3,txpool
62-
- --ws
63-
- --ws.addr
64-
- 0.0.0.0
65-
- --ws.port
66-
- "8546"
67-
- --ws.api
68-
- eth,net,web3
69-
- --engine.persistence-threshold
70-
- "0"
71-
- --engine.memory-block-buffer-target
72-
- "0"
73-
- --disable-discovery
74-
- --txpool.pending-max-count
75-
- "200000"
76-
- --txpool.pending-max-size
77-
- "200"
78-
- --txpool.queued-max-count
79-
- "200000"
80-
- --txpool.queued-max-size
81-
- "200"
82-
- --txpool.max-account-slots
83-
- "2048"
84-
- --txpool.max-new-txns
85-
- "2048"
86-
- --txpool.additional-validation-tasks
87-
- "16"
88-
- --rollkit.enable
43+
- |
44+
lumen node \
45+
--chain /root/chain/genesis.json \
46+
--metrics 0.0.0.0:9001 \
47+
--log.file.directory /root/logs \
48+
--authrpc.addr 0.0.0.0 \
49+
--authrpc.port 8551 \
50+
--authrpc.jwtsecret /root/jwt/jwt.hex \
51+
--http --http.addr 0.0.0.0 --http.port 8545 \
52+
--http.api eth,net,web3,txpool \
53+
--ws --ws.addr 0.0.0.0 --ws.port 8546 \
54+
--ws.api eth,net,web3 \
55+
--engine.persistence-threshold 0 \
56+
--engine.memory-block-buffer-target 0 \
57+
--disable-discovery \
58+
--txpool.pending-max-count 200000 \
59+
--txpool.pending-max-size 200 \
60+
--txpool.queued-max-count 200000 \
61+
--txpool.queued-max-size 200 \
62+
--txpool.max-account-slots 2048 \
63+
--txpool.max-new-txns 2048 \
64+
--txpool.additional-validation-tasks 16 \
65+
--rollkit.enable
8966
9067
volumes:
9168
logs:

0 commit comments

Comments
 (0)