1
0

Add joinmarket support

This commit is contained in:
nicolas.dorier
2021-09-13 18:43:34 +09:00
parent 611da529bf
commit 65a37e2509
7 changed files with 316 additions and 3 deletions

View File

@@ -0,0 +1,43 @@
version: "3"
services:
joinmarket:
container_name: joinmarket
image: btcpayserver/joinmarket:0.9.1
restart: 'no'
environment:
READY_FILE: /root/.nbxplorer/btc_fully_synched
ENSURE_WALLET: 1
jm_gaplimit: 2000
jm_tor_control_host: tor
jm_tor_control_port: 9051
jm_onion_socks5_host: tor
jm_onion_socks5_port: 9050
jm_socks5_host: tor
jm_socks5_port: 9050
jm_network: ${NBITCOIN_NETWORK:-regtest}
jm_rpc_host: bitcoind
jm_rpc_port: 43782
jm_rpc_user: joinmarket
jm_rpc_password: afixedpasswordforjoinmarket
volumes:
- "joinmarket_datadir:/root/.joinmarket"
- "nbxplorer_datadir:/root/.nbxplorer"
- "tor_datadir:/home/tor/.tor"
links:
- bitcoind
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: |
# rpcuser=joinmarket
# rpcpassword=afixedpasswordforjoinmarket
# We need to use rpcauth because we also need cookieauth. rpcpassword disabled cookie file auth.
# Be careful if you copy the line below from the docker-compose.yml! A dollar sign is escaped.
rpcauth=joinmarket:4b4dbcb712557eb8c8bfd56a2b6a7707$$6497d80877f10dc375829724f369f546b070fc706121a361438a4a1e51025bea
volumes:
joinmarket_datadir:
required:
- "opt-add-tor"