This repository was archived by the owner on Dec 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,16 @@ ARG UPSTREAM_VERSION
33FROM hyperledger/besu:${UPSTREAM_VERSION}
44
55USER root
6+
67RUN mkdir /var/lib/besu
78
89COPY jwtsecret.hex /jwtsecret
910COPY entrypoint.sh /usr/bin/entrypoint.sh
1011
1112RUN chown -R besu:besu /var/lib/besu && chmod 777 /usr/bin/entrypoint.sh && chown -R besu:besu /jwtsecret && chmod 666 /jwtsecret
1213
13- ENV BESU_OPTS=$BESU_OPTS
14-
1514USER besu
1615
16+ ENV BESU_OPTS=$BESU_OPTS
17+
1718ENTRYPOINT [ "entrypoint.sh" ]
Original file line number Diff line number Diff line change 66 echo " Using supplied jwtsecret!"
77fi
88
9- exec besu --rpc-ws-host=0.0.0.0 --rpc-ws-enabled=$WS_ENABLED --rpc-http-host=0.0.0.0 --rpc-http-enabled=$RPC_ENABLED --host-allowlist=" *" --rpc-http-cors-origins=" *" --engine-rpc-port=8551 --engine-host-allowlist=" *" --engine-jwt-secret=" /jwtsecret" --engine-rpc-enabled=$ENGINE_API_ENABLED --data-storage-format=$STORAGE_FORMAT --metrics-enabled --metrics-host=0.0.0.0 --data-path=" /var/lib/besu" --sync-mode=$SYNC_MODE --rpc-http-max-active-connections=$MAX_HTTP_CONNECTIONS --p2p-port=$P2P_PORT $EXTRA_OPTS
9+ exec besu --rpc-ws-host=0.0.0.0 \
10+ --rpc-ws-enabled=$WS_ENABLED \
11+ --rpc-http-host=0.0.0.0 \
12+ --rpc-http-enabled=$RPC_ENABLED \
13+ --host-allowlist=" *" \
14+ --rpc-http-cors-origins=" *" \
15+ --engine-rpc-port=8551 \
16+ --engine-host-allowlist=" *" \
17+ --engine-jwt-secret=/jwtsecret \
18+ --engine-rpc-enabled=$ENGINE_API_ENABLED \
19+ --data-storage-format=$STORAGE_FORMAT
20+ --metrics-enabled \
21+ --metrics-host=0.0.0.0 \
22+ --data-path=" /var/lib/besu" \
23+ --sync-mode=$SYNC_MODE \
24+ --rpc-http-max-active-connections=$MAX_HTTP_CONNECTIONS \
25+ --p2p-port=$P2P_PORT \
26+ $EXTRA_OPTS
You can’t perform that action at this time.
0 commit comments