Browse Source

Add tallycoin-connect app (#1052)

Co-authored-by: Luke Childs <lukechilds123@gmail.com>
lit-0.6.0
d11n 3 years ago
committed by GitHub
parent
commit
3d3c682e8a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      apps/registry.json
  2. 0
      apps/tallycoin-connect/data/.gitkeep
  3. 21
      apps/tallycoin-connect/docker-compose.yml
  4. 4
      scripts/configure
  5. 2
      templates/.env-sample
  6. 4
      templates/torrc-apps-3-sample

23
apps/registry.json

@ -592,5 +592,28 @@
],
"path": "",
"defaultPassword": ""
},
{
"id": "tallycoin-connect",
"category": "Finance",
"name": "Tallycoin Connect",
"version": "v1.7.0",
"tagline": "Connect Tallycoin with your Umbrel node",
"description": "Receive Tallycoin Lightning payouts directly to your own node.",
"developer": "djbooth007",
"website": "https://github.com/djbooth007/tallycoin_connect",
"dependencies": [
"lnd"
],
"repo": "https://github.com/djbooth007/tallycoin_connect",
"support": "https://github.com/djbooth007/tallycoin_connect/issues",
"port": 8123,
"gallery": [
"1.jpg",
"2.jpg",
"3.jpg"
],
"path": "",
"defaultPassword": ""
}
]

0
apps/tallycoin-connect/data/.gitkeep

21
apps/tallycoin-connect/docker-compose.yml

@ -0,0 +1,21 @@
version: "3.7"
services:
web:
image: dennisreimann/tallycoin_connect:v1.7.0@sha256:fabec3867a977e093b6572ad13a4d408a57da771c088ee85a868c1e023fd62db
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
ports:
- "$APP_TALLYCOIN_CONNECT_PORT:$APP_TALLYCOIN_CONNECT_PORT"
volumes:
- ${LND_DATA_DIR}:/lnd:ro
- ${APP_DATA_DIR}/data:/data
environment:
LND_SOCKET: "$LND_IP:$LND_GRPC_PORT"
LND_MACAROON_PATH: "/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"
LND_TLSCERT_PATH: "/lnd/tls.cert"
CONFIG_FILE: "/data/tallycoin_api.key"
networks:
default:
ipv4_address: $APP_TALLYCOIN_CONNECT_IP

4
scripts/configure

@ -211,6 +211,8 @@ APP_LNMARKETS_IP="10.21.21.58"
APP_LNMARKETS_PORT="4242"
APP_ELECTRUMX_IP="10.21.21.59"
APP_ELECTRUMX_PORT="55001"
APP_TALLYCOIN_CONNECT_IP="10.21.21.60"
APP_TALLYCOIN_CONNECT_PORT="8123"
# Generate RPC credentials
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@ -419,6 +421,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-lnmarkets-port>/${APP_LNMARKETS_PORT}/g" "${template}"
sed -i "s/<app-electrumx-ip>/${APP_ELECTRUMX_IP}/g" "${template}"
sed -i "s/<app-electrumx-port>/${APP_ELECTRUMX_PORT}/g" "${template}"
sed -i "s/<app-tallycoin-connect-ip>/${APP_TALLYCOIN_CONNECT_IP}/g" "${template}"
sed -i "s/<app-tallycoin-connect-port>/${APP_TALLYCOIN_CONNECT_PORT}/g" "${template}"
done
##########################################################

2
templates/.env-sample

@ -105,3 +105,5 @@ APP_LNMARKETS_IP=<app-lnmarkets-ip>
APP_LNMARKETS_PORT=<app-lnmarkets-port>
APP_ELECTRUMX_IP=<app-electrumx-ip>
APP_ELECTRUMX_PORT=<app-electrumx-port>
APP_TALLYCOIN_CONNECT_IP=<app-tallycoin-connect-ip>
APP_TALLYCOIN_CONNECT_PORT=<app-tallycoin-connect-port>

4
templates/torrc-apps-3-sample

@ -36,3 +36,7 @@ HiddenServicePort 80 <app-lnmarkets-ip>:<app-lnmarkets-port>
# electrumx Hidden Service
HiddenServiceDir /var/lib/tor/app-electrumx
HiddenServicePort 50001 <app-electrumx-ip>:50001
# tallycoin-connectHidden Service
HiddenServiceDir /var/lib/tor/app-tallycoin-connect
HiddenServicePort 80 <app-tallycoin-connect-ip>:<app-tallycoin-connect-port>

Loading…
Cancel
Save