Add Monero to opt-save-storage to run pruned node, default Monerod to full node (#558)

* Default Monerod to full node, add MONEROD_EXTRA_ARGS environment config and add Monerod pruned blockchain to opt-save-storage

* Update opt-save-storage.yml
This commit is contained in:
CRYPTO GRAMPY™ 2022-01-28 07:16:37 +01:00 committed by GitHub
parent 10bd88da37
commit c9cb35a507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -5,7 +5,16 @@ services:
restart: unless-stopped restart: unless-stopped
container_name: btcpayserver_monerod container_name: btcpayserver_monerod
image: btcpayserver/monero:0.17.2.3 image: btcpayserver/monero:0.17.2.3
entrypoint: monerod --rpc-bind-ip=0.0.0.0 --confirm-external-bind --rpc-bind-port=18081 --non-interactive --block-notify="/bin/sh ./scripts/notifier.sh -X GET http://btcpayserver:49392/monerolikedaemoncallback/block?cryptoCode=xmr&hash=%s" --hide-my-port --prune-blockchain --enable-dns-blocklist entrypoint: monerod
environment:
MONERO_EXTRA_ARGS: |
rpc-bind-ip=0.0.0.0
confirm-external-bind=1
rpc-bind-port=18081
non-interactive=1
block-notify="/bin/sh ./scripts/notifier.sh -X GET http://btcpayserver:49392/monerolikedaemoncallback/block?cryptoCode=xmr&hash=%s"
hide-my-port=1
enable-dns-blocklist=1
expose: expose:
- "18081" - "18081"
volumes: volumes:

View File

@ -21,6 +21,9 @@ services:
litecoind: litecoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=100000 BITCOIN_EXTRA_ARGS: prune=100000
monerod:
environment:
MONERO_EXTRA_ARGS: prune-blockchain=1
viacoind: viacoind:
environment: environment:
BITCOIN_EXTRA_ARGS: prune=100000 BITCOIN_EXTRA_ARGS: prune=100000