Removed LN IP address and fixed gatekeeper_datapath in start

This commit is contained in:
kexkey
2018-12-26 14:25:02 -05:00
parent b025ec68b7
commit e1a903bfdb
4 changed files with 5 additions and 16 deletions

View File

@@ -14,7 +14,6 @@
"bitcoin_prune": false,
"bitcoin_uacomment": "",
"lightning_implementation": "c-lightning",
"lightning_external_ip": "clightning.nodes.com",
"lightning_nodename": "SatoshiPortal",
"lightning_nodecolor": "ff00ff",
"electrum_implementation": "eps",
@@ -24,4 +23,4 @@
"lightning_datapath": "/tmp/l",
"bitcoin_expose": false,
"devmode": true
}
}

View File

@@ -28,7 +28,6 @@
"bitcoin_datapath_custom": " ",
"bitcoin_expose": "By default, Bitcoin node ports (RPC and protocol) won't be <font underline='true'>published</font> outside of Docker. Do you want to expose them so that your node can be accessed from outside of the Docker network?",
"lightning_implementation": "Multiple <font underline='true'>LN implementations</font> exist. Please choose the one you want to use with Cyphernode.",
"lightning_external_ip": "If you want you LN node to be accessible from the Internet, provide the <font underline='true'>IP address</font> that other LN nodes will use to connect to it. This is usually your router's public IP. <font color='#00ff00'>NOTE</font>: In case you are running Cyphernode at home. This option won't make your router forward needed LN ports; you still need to configure and manage that part yourself in your router configuration.",
"lightning_nodename": "LN nodes have names. Choose the <font underline='true'>name you want</font> for yours.",
"lightning_nodecolor": "LN nodes have colors. Choose the <font underline='true'>color you want</font> for yours in RGB format (RRGGBB). For example, pure red would be <font color='#ff0000'>ff0000</font>.",
"lightning_datapath": "<font underline='true'>Path name</font> to where LN's data files are stored. This directory will be mounted into the LN node's container.",

View File

@@ -46,15 +46,6 @@ module.exports = {
]
},
*/
{
when: featureCondition,
type: 'input',
name: 'lightning_external_ip',
default: utils._getDefault( 'lightning_external_ip' ),
filter: utils._trimFilter,
validate: utils._ipOrFQDNValidator,
message: prefix()+'What external ip does your lightning node have?'+utils._getHelp('lightning_external_ip'),
},
{
when: featureCondition,
type: 'input',
@@ -87,4 +78,4 @@ module.exports = {
templates: function( props ) {
return templates[props.lightning_implementation]
}
};
};

View File

@@ -32,16 +32,16 @@ echo "EXIT_STATUS=1" > $current_path/exitStatus.sh
# Will test if Cyphernode is fully up and running...
docker run --rm -it -v $current_path/testfeatures.sh:/testfeatures.sh \
-v ~/.cyphernode/gatekeeper:/gatekeeper \
-v <%= gatekeeper_datapath %>:/gatekeeper \
-v $current_path/exitStatus.sh:/exitStatus.sh \
--network cyphernodenet alpine:3.8 /testfeatures.sh
if [[ -f $current_path/exitStatus.sh ]]; then
if [ -f $current_path/exitStatus.sh ]; then
. $current_path/exitStatus.sh
rm $current_path/exitStatus.sh
fi
if [[ ! $EXIT_STATUS == 0 ]]; then
if [ "$EXIT_STATUS" -ne "0" ]; then
exec ./stop.sh
exit 1
fi