Skip to content

Commit b399fa3

Browse files
author
Mark Smith
committed
adding official bitcoinsv image
1 parent 8a3896b commit b399fa3

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

docker-compose.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ version: '3.8'
33
services:
44
node1:
55
container_name: node1
6-
build:
7-
context: ./sv
8-
args:
9-
VERSION: "1.0.6"
6+
image: bitcoinsv/bitcoin-sv:1.0.7
107
expose:
118
- "18332"
129
- "18333"
@@ -15,8 +12,10 @@ services:
1512
- "18332:18332"
1613
- "28332:28332"
1714
restart: unless-stopped
15+
healthcheck:
16+
test: [ "CMD", "/entrypoint.sh", "bitcoin-cli", "getinfo" ]
1817
volumes:
19-
- ./sv/bitcoin.conf:/root/.bitcoin/bitcoin.conf
18+
- ./sv/bitcoin.conf:/data/bitcoin.conf
2019

2120
explorer:
2221
container_name: explorer

regtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
docker exec node1 /opt/bitcoin-sv/bitcoin-sv-1.0.6/bin/bitcoin-cli -rpcuser=bitcoin -rpcpassword=bitcoin $@
1+
docker exec node1 bitcoin-cli -rpcuser=bitcoin -rpcpassword=bitcoin -rpcport=18332 $@

0 commit comments

Comments
 (0)