mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
seednode-docker: Add blocknotify support
This commit is contained in:
parent
31c3e7a5c1
commit
984630d13e
2
seednode/deployment_v2/docker/blocknotify.sh
Executable file
2
seednode/deployment_v2/docker/blocknotify.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
echo $1 | nc -w 1 bisq-seednode 5120
|
@ -11,6 +11,7 @@ services:
|
|||||||
- 8333:8333 # bitcoind port
|
- 8333:8333 # bitcoind port
|
||||||
volumes:
|
volumes:
|
||||||
- ./bitcoind_data_dir:/root/.bitcoin
|
- ./bitcoind_data_dir:/root/.bitcoin
|
||||||
|
- ./blocknotify.sh:/blocknotify.sh
|
||||||
command:
|
command:
|
||||||
- -server=1
|
- -server=1
|
||||||
- -listen=1
|
- -listen=1
|
||||||
@ -24,7 +25,7 @@ services:
|
|||||||
- -rpcallowip=172.0.0.1/8 # Docker IP range
|
- -rpcallowip=172.0.0.1/8 # Docker IP range
|
||||||
- -rpcuser=bisq
|
- -rpcuser=bisq
|
||||||
- -rpcpassword=bisq
|
- -rpcpassword=bisq
|
||||||
- -blocknotify=/root/.bitcoin/blocknotify.sh %s
|
- -blocknotify=/blocknotify.sh %s
|
||||||
- -bind=0.0.0.0:8332
|
- -bind=0.0.0.0:8332
|
||||||
- -rpcbind=0.0.0.0:8332
|
- -rpcbind=0.0.0.0:8332
|
||||||
|
|
||||||
|
3
seednode/deployment_v2/docker/regtest/blocknotify.sh
Executable file
3
seednode/deployment_v2/docker/regtest/blocknotify.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
echo $1 | nc -w 1 bisq-seednode-1 5120
|
||||||
|
echo $1 | nc -w 1 bisq-seednode-2 5121
|
@ -5,6 +5,7 @@ services:
|
|||||||
image: bisq/bitcoind:latest
|
image: bisq/bitcoind:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./bitcoind_data_dir:/root/.bitcoin
|
- ./bitcoind_data_dir:/root/.bitcoin
|
||||||
|
- ./blocknotify.sh:/blocknotify.sh
|
||||||
command:
|
command:
|
||||||
- -regtest
|
- -regtest
|
||||||
- -server=1
|
- -server=1
|
||||||
@ -19,7 +20,7 @@ services:
|
|||||||
- -rpcallowip=172.0.0.1/8 # Docker IP range
|
- -rpcallowip=172.0.0.1/8 # Docker IP range
|
||||||
- -rpcuser=${BITCOIN_RPC_USER}
|
- -rpcuser=${BITCOIN_RPC_USER}
|
||||||
- -rpcpassword=${BITCOIN_RPC_PASS}
|
- -rpcpassword=${BITCOIN_RPC_PASS}
|
||||||
- -blocknotify=/root/.bitcoin/blocknotify.sh %s
|
- -blocknotify=/blocknotify.sh %s
|
||||||
- -bind=0.0.0.0:${BITCOIN_RPC_PORT}
|
- -bind=0.0.0.0:${BITCOIN_RPC_PORT}
|
||||||
- -rpcbind=0.0.0.0:${BITCOIN_RPC_PORT}
|
- -rpcbind=0.0.0.0:${BITCOIN_RPC_PORT}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user