Browse Source
Merge pull request #21 from getumbrel/configure-box-patch
Add docker-compose to configure-box.sh
patch-1
Mayank Chhabra
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
configure-box.sh
|
|
@ -25,10 +25,11 @@ cat secrets/rpcauth.txt >> bitcoin/bitcoin.conf |
|
|
|
RPCPASS=`cat secrets/rpcpass.txt` |
|
|
|
echo "Configuring LND rpc info" |
|
|
|
sed -i "s/RPCPASS/${RPCPASS}/g; " lnd/lnd.conf |
|
|
|
echo "Configuring docker-compose file" |
|
|
|
sed -i "s/RPCPASS/${RPCPASS}/g; " docker-compose.yml |
|
|
|
if [ ! -z $TESTNET ]; then |
|
|
|
echo "Enabling testnet if TESTNET variable is set" |
|
|
|
echo "testnet=1" >> bitcoin/bitcoin.conf |
|
|
|
fi |
|
|
|
rm configure-box.sh |
|
|
|
echo "Box Configuration complete" |
|
|
|
|
|
|
|