Activate wallets and save in different volume

This commit is contained in:
nicolas.dorier
2019-11-06 15:42:51 +09:00
parent 3c1296ba01
commit 733e2e25b0

View File

@@ -4,20 +4,21 @@ services:
bitcoind:
restart: unless-stopped
container_name: btcpayserver_bitcoind
image: btcpayserver/bitcoin:0.18.0
image: btcpayserver/bitcoin:0.18.0-1
environment:
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
BITCOIN_WALLETDIR: "/walletdata"
BITCOIN_EXTRA_ARGS: |
rpcport=43782
rpcbind=0.0.0.0:43782
port=39388
disablewallet=1
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoin_datadir:/data"
- "bitcoin_wallet_datadir:/walletdata"
nbxplorer:
environment:
NBXPLORER_CHAINS: "btc"
@@ -31,3 +32,4 @@ services:
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoin_datadir:
bitcoin_wallet_datadir: