File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ WORKDIR /opt/monero
2626COPY --from=builder /root/builder/* .
2727COPY files/entrypoint.sh files/healthcheck.sh files/run.sh /usr/local/bin/
2828
29+ ENV BATCH_SIZE="10"
2930ENV PROXY_URL=""
3031ENV PRUNE_BLOCKCHAIN="false"
3132
Original file line number Diff line number Diff line change 1- v0.0.1
1+ v0.0.2
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ services:
44 container_name : monerod
55 build : .
66 environment :
7+ - BATCH_SIZE=1
78 - PROXY_URL=socks5://${TORSOCKS_TOR_ADDRESS}:9050
89 - PRUNE_BLOCKCHAIN=true
910 volumes :
Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ if [[ "$PRUNE_BLOCKCHAIN" == "true" ]]; then
1111 ADDITIONAL_ARGUMENTS+=(" --prune-blockchain" )
1212fi
1313
14- /opt/monero/monerod " ${ADDITIONAL_ARGUMENTS[@]} " --confirm-external-bind --data-dir /media/monerod \
15- --in-peers 100 --non-interactive --restricted-rpc --rpc-bind-ip 0.0.0.0 " $@ "
14+ /opt/monero/monerod " ${ADDITIONAL_ARGUMENTS[@]} " --block-sync-size " $BATCH_SIZE " \
15+ --confirm-external-bind --data-dir /media/monerod --in-peers 100 --non-interactive \
16+ --restricted-rpc --rpc-bind-ip 0.0.0.0 " $@ "
You can’t perform that action at this time.
0 commit comments