Browse Source

Fixed docker-compose and removed bitcoin conf

umbrel-mod
yapishu 3 years ago
parent
commit
af8d11aac0
  1. 2
      docker-compose.yaml
  2. 23
      rpc/bitcoin.conf
  3. 1
      rpc/mainnet-start.sh

2
docker-compose.yaml

@ -6,7 +6,7 @@ services:
restart: on-failure
stop_grace_period: 1m
ports:
- 50002:50002 50003:50003
- 50002:50002
environment:
$ELECTRUM_IP: $ELECTRUM_PORT
$ELECTRUM_PORT: $ELECTRUM_PORT

23
rpc/bitcoin.conf

@ -1,23 +0,0 @@
#bindaddress=127.0.0.1
#listen=1
#proxy=127.0.0.1:9050
#debug=tor
#
blockfilterindex=1
txindex=1
server=1
rpcallowip=0.0.0.0/0
rpcbind=127.0.0.1
rpcport=8332
## Lightning options
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
[test]
rpcallowip=0.0.0.0/0
rpcbind=0.0.0.0
rpcbind=127.0.0.1
rpcport=18332

1
rpc/mainnet-start.sh

@ -2,6 +2,7 @@
##########################
# Set host.docker.internal
# sudo /usr/bin/append-to-hosts "$(ip -4 route list match 0/0 | awk '{print $3 "\thost.docker.internal"}')"
echo Running modified mainnet script...
export BTC_RPC_PORT=${BITCOIN_RPC_PORT}
export ELECTRS_HOST=${ELECTRUM_IP}
export ELECTRS_PORT=${ELECTRUM_PORT}

Loading…
Cancel
Save