mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-10 06:44:38 +01:00
added own bitcoin.conf for c-lightning
This commit is contained in:
1
dist/setup.sh
vendored
1
dist/setup.sh
vendored
@@ -213,6 +213,7 @@ install_docker() {
|
||||
next
|
||||
fi
|
||||
copy_file $sourceDataPath/lightning/c-lightning/config $LIGHTNING_DATAPATH/config
|
||||
copy_file $sourceDataPath/lightning/c-lightning/bitcoin.conf $LIGHTNING_DATAPATH/bitcoin.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ const featureCondition = function(props) {
|
||||
|
||||
const templates = {
|
||||
'lnd': [ path.join('lnd','lnd.conf') ],
|
||||
'c-lightning': [ path.join('c-lightning','config') ]
|
||||
'c-lightning': [ path.join('c-lightning','config'), path.join('c-lightning','bitcoin.conf') ]
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -69,6 +69,7 @@ services:
|
||||
- "9735:9735"
|
||||
volumes:
|
||||
- "<%= lightning_datapath%>:/.lightning"
|
||||
- "<%= lightning_datapath%>/bitcoin.conf:/.bitcoin/bitcoin.conf"
|
||||
# deploy:
|
||||
# placement:
|
||||
# constraints: [node.hostname==dev]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<% if (net === 'testnet') { %>
|
||||
# testnet
|
||||
testnet=1
|
||||
<% } %>
|
||||
|
||||
rpcconnect=<%= (bitcoin_mode === 'internal')?'bitcoin':bitcoin_node_ip %>
|
||||
rpcuser=<%= bitcoin_rpcuser %>
|
||||
rpcpassword=<%= bitcoin_rpcpassword %>
|
||||
Reference in New Issue
Block a user