-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdocker-compose.bch.yml
27 lines (25 loc) · 1.07 KB
/
docker-compose.bch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: '3.8'
services:
#########################################################################
# Bitcoin ABC
#------------------------------------------------------------------------
# Example of commands to container
# -up bch-watch
# $ docker-compose -f docker-compose.bch.yml up bch-watch
# -login
# $ docker-compose -f docker-compose.bch.yml exec bch-watch bash
# - # bitcoin-cli -rpcuser=xyz -rpcpassword=xyz -rpcport=18332 getnetworkinfo
# - run command
# $ docker-compose -f docker-compose.bch.yml exec bch-watch bitcoin-cli -rpcuser=xyz -rpcpassword=xyz -rpcport=18332 getnetworkinfo
#########################################################################
bch-watch:
image: zquestz/bitcoin-cash-node:0.24.0
# https://hub.docker.com/r/zquestz/bitcoin-cash-node/tags
# https://github.com/zquestz/docker-bitcoin
volumes:
- ./docker/nodes/bch/data:/data
ports:
- "${BCH_WALLET_RPC_PORT:-19332}:18332"
stdin_open: true
tty: true
#command: /usr/local/bin/bitcoind --printtoconsole --conf=/data/bitcoind.conf