From f14ceda4ccaef9893a666a8f4407d9772c5aa770 Mon Sep 17 00:00:00 2001 From: maxwedwards Date: Tue, 22 Nov 2022 11:31:39 +0000 Subject: [PATCH] App Submission: Torq (#269) Co-authored-by: Steven Briscoe --- torq/data/passwd | 1 + torq/data/torq/.gitkeep | 0 torq/docker-compose.yml | 42 +++++++++++++++++++++++++++++++++++++++ torq/umbrel-app.yml | 44 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 torq/data/passwd create mode 100644 torq/data/torq/.gitkeep create mode 100644 torq/docker-compose.yml create mode 100644 torq/umbrel-app.yml diff --git a/torq/data/passwd b/torq/data/passwd new file mode 100644 index 0000000..3bf07a1 --- /dev/null +++ b/torq/data/passwd @@ -0,0 +1 @@ +user:x:1000:1000:,,,:/tmp:/bin/bash \ No newline at end of file diff --git a/torq/data/torq/.gitkeep b/torq/data/torq/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/torq/docker-compose.yml b/torq/docker-compose.yml new file mode 100644 index 0000000..1920fa2 --- /dev/null +++ b/torq/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: torq_web_1 + APP_PORT: 7028 + + web: + image: lncapital/torq:0.11.1@sha256:a077ceb0796eba9a5bd11fe29038d9eb33e3e92b172ef52a281e730eafe4cbe7 + user: "1000:1000" + restart: on-failure + stop_grace_period: 1m + volumes: + - ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro + command: + - --torq.port + - "7028" + - --db.host + - torq_db_1 + - --db.password + - moneyprintergobrrr + - --torq.password + - ${APP_PASSWORD} + - --lnd.url + - ${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT} + - --lnd.macaroon-path + - /lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/readonly.macaroon + - --lnd.tls-path + - /lnd/tls.cert + - start + + db: + image: timescale/timescaledb:2.8.1-pg14@sha256:96c3a5587a24bb336437403b394f5927f639322cf3fcc0eff4ee0294da540dd7 + user: "1000:1000" + restart: on-failure + stop_grace_period: 1m + environment: + POSTGRES_PASSWORD: moneyprintergobrrr + volumes: + - ${APP_DATA_DIR}/data/torq:/var/lib/postgresql/data + - ${APP_DATA_DIR}/data/passwd:/etc/passwd:ro # Enables postgres to init on user 1000 diff --git a/torq/umbrel-app.yml b/torq/umbrel-app.yml new file mode 100644 index 0000000..ac0dcd5 --- /dev/null +++ b/torq/umbrel-app.yml @@ -0,0 +1,44 @@ +manifestVersion: 1 +id: torq +category: Lightning Node Management +name: Torq +version: "v0.11.1" +tagline: Capital management for routing nodes on the lightning network +description: >- + Features + + - Channel and Channel group inspection + + - See the channel balance (inbound/outbound capacity) over time + + - Advanced charts and visualizations of aggregated forwarding statistics + + - Visualization of sources and destinations for traffic + + - Stores all events from your node including HTLC events, fee rate changes and channel enable/disable events + + - Filter, sort and group data + + - Store custom table views configurations for quickly finding the right information + + - Fetch and analyse data from any point in time + + - Navigate through time (days, weeks, months) to track your progress.developer: Shahana and Suheb +website: https://github.com/lncapital/torq +dependencies: + - lightning +repo: https://github.com/lncapital/torq +support: https://github.com/lncapital/torq/issues/new +port: 7028 +gallery: + - 1.jpg + - 2.jpg + - 3.jpg + - 4.jpg +releaseNotes: >- + Support for arm architecture to run on Raspberry Pi +path: "" +defaultUsername: "" +deterministicPassword: true +submitter: Max Edwards +submission: https://github.com/getumbrel/umbrel-apps/pull/269 \ No newline at end of file