Browse Source
Add lndg app (#1189 )
Co-authored-by: Luke Childs <lukechilds123@gmail.com>
apps-test
cryptosharks131
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
53 additions and
0 deletions
apps/lndg/docker-compose.yml
apps/registry.json
scripts/configure
templates/.env-sample
templates/torrc-server-sample
@ -0,0 +1,19 @@
version : "3.7"
services:
web:
image : ghcr.io/cryptosharks131/lndg:v1.0.2@sha256:3c55173dca8af79fd122587e5e53ddc68159ed7c3a4865a72c4e90b4b84ce787
restart : on -failure
stop_grace_period : 1m
ports:
- "${APP_LNDG_PORT}:${APP_LNDG_PORT}"
volumes:
- ${LND_DATA_DIR}:/root/.lnd:ro
- ${APP_DATA_DIR}:/lndg/data
command:
- sh
- -c
- python initialize.py -net '${BITCOIN_NETWORK}' -server '${LND_IP}:${LND_GRPC_PORT}' -pw '${APP_PASSWORD}' -d && supervisord && python manage.py runserver 0.0.0.0:${APP_LNDG_PORT}
networks:
default:
ipv4_address : ${APP_LNDG_IP}
@ -825,5 +825,29 @@
"path" : "" ,
"deterministicPassword" : true ,
"torOnly" : false
} ,
{
"id" : "lndg" ,
"category" : "Lightning Node Management" ,
"name" : "LNDg" ,
"version" : "1.0.2" ,
"tagline" : "Lite GUI web interface to analyze LND data and manage your node with automation." ,
"description" : "LNDg is your command center for running a profitable and efficient routing node. From quickly viewing your node's health, automated rebalancing, selecting new potential peers and much more." ,
"developer" : "cryptosharks131" ,
"website" : "https://github.com/cryptosharks131" ,
"dependencies" : [
"lnd"
] ,
"repo" : "https://github.com/cryptosharks131/lndg" ,
"support" : "https://t.me/+-RxoZdi7snk2ZGYx" ,
"port" : 8889 ,
"gallery" : [
"1.jpg" ,
"2.jpg" ,
"3.jpg"
] ,
"path" : "" ,
"defaultUsername" : "lndg-admin" ,
"deterministicPassword" : true
}
]
@ -232,6 +232,8 @@ APP_SUREDBITS_WALLET_IP="10.21.21.73"
APP_SUREDBITS_WALLET_PORT="3020"
APP_SUREDBITS_WALLET_SERVER_IP="10.21.21.74"
APP_SUREDBITS_WALLET_P2P_PORT="2862"
APP_LNDG_IP="10.21.21.75"
APP_LNDG_PORT="8889"
# Generate RPC credentials
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@ -466,6 +468,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-suredbits-wallet-port>/${APP_SUREDBITS_WALLET_PORT}/g" "${template}"
sed -i "s/<app-suredbits-wallet-server-ip>/${APP_SUREDBITS_WALLET_SERVER_IP}/g" "${template}"
sed -i "s/<app-suredbits-wallet-p2p-port>/${APP_SUREDBITS_WALLET_P2P_PORT}/g" "${template}"
sed -i "s/<app-lndg-ip>/${APP_LNDG_IP}/g" "${template}"
sed -i "s/<app-lndg-port>/${APP_LNDG_PORT}/g" "${template}"
done
##########################################################
@ -132,3 +132,5 @@ APP_SUREDBITS_WALLET_IP=<app-suredbits-wallet-ip>
APP_SUREDBITS_WALLET_PORT=<app-suredbits-wallet-port>
APP_SUREDBITS_WALLET_SERVER_IP=<app-suredbits-wallet-server-ip>
APP_SUREDBITS_WALLET_P2P_PORT=<app-suredbits-wallet-p2p-port>
APP_LNDG_IP=<app-lndg-ip>
APP_LNDG_PORT=<app-lndg-port>
@ -193,3 +193,7 @@ HiddenServicePort 80 <app-suredbits-wallet-ip>:3002
# suredbits-wallet p2p Hidden Service
HiddenServiceDir /data/app-suredbits-wallet-p2p
HiddenServicePort <app-suredbits-wallet-p2p-port> <app-suredbits-wallet-server-ip>:<app-suredbits-wallet-p2p-port>
# lndg Hidden Service
HiddenServiceDir /data/app-lndg
HiddenServicePort 80 <app-lndg-ip>:<app-lndg-port>