diff --git a/lightningmate/data/.gitkeep b/lightningmate/data/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/lightningmate/docker-compose.yml b/lightningmate/docker-compose.yml new file mode 100644 index 000000000..0a41c015c --- /dev/null +++ b/lightningmate/docker-compose.yml @@ -0,0 +1,41 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: lightningmate_web_1 + APP_PORT: 3001 + + web: + image: ghcr.io/opensourceminers/lightningmate:v0.6.10@sha256:199a9df7855714d3b2fe2bc011ebdda88bd58fee2653f283111b35094ca61c1a + user: "1000:1000" + restart: on-failure + stop_grace_period: 1m + volumes: + # Read-only access to LND's tls.cert + macaroons. + - ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro + # App's own writable data dir (autopilot config + rebalance accounting). + - ${APP_DATA_DIR}/data:/data + environment: + APP_LIGHTNING_NODE_IP: "$APP_LIGHTNING_NODE_IP" + APP_LIGHTNING_NODE_GRPC_PORT: "$APP_LIGHTNING_NODE_GRPC_PORT" + LND_SOCKET: "$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT" + LND_DIR: "/lnd" + LND_CERT_PATH: "/lnd/tls.cert" + LND_MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/readonly.macaroon" + DATA_DIR: "/data" + PORT: "3001" + # Bind all interfaces so app_proxy (which authenticates) can reach us. + LM_BIND: "0.0.0.0" + # Per-install secrets for server-side auth. Other app containers share the + # Docker network, so the whole API requires a session token proving the + # per-app password Umbrel shows the user ($APP_PASSWORD, from + # deterministicPassword); $APP_SEED signs the tokens. + APP_PASSWORD: "$APP_PASSWORD" + APP_SEED: "$APP_SEED" + # Node management needs write access (like RTL / Thunderhub / Lightning + # Terminal). The autopilot itself stays OFF until the user turns it on, and + # every fund-moving action asks for confirmation. To run read-only instead, + # comment these two lines out. + LM_ENABLE_WRITE: "true" + LND_WRITE_MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon" diff --git a/lightningmate/umbrel-app.yml b/lightningmate/umbrel-app.yml new file mode 100644 index 000000000..c5ec2a969 --- /dev/null +++ b/lightningmate/umbrel-app.yml @@ -0,0 +1,55 @@ +# Official Umbrel App Store manifest (getumbrel/umbrel-apps). +# Per the packaging guide: bare `lightningmate` id, gallery [], NO icon field — +# the Umbrel team hosts the final icon + screenshots (provide them in the PR body). +manifestVersion: 1 +id: lightningmate +category: finance +name: Lightning Mate +version: "0.6.10" +tagline: Profit-aware management & autopilot for your Lightning node +description: >- + Lightning Mate manages your Lightning node so you don't have to babysit it. + It connects automatically to your Umbrel Lightning (LND) node. + + + See channels with live balance bars and source / sink / router roles, a full + Forwards routing report, and a Profit & Loss overview (routing revenue vs + channel-open and rebalancing costs). Get scored channel-peer suggestions from + the network graph and open channels in a click, plus a node health score. + + + Flip on the Autopilot and the node tunes its own fees, runs only profitable + rebalances, and opens channels to top peers — all on recommended settings with + safe caps and cooldowns. + + + Buy and sell channel liquidity on the Amboss Magma marketplace right inside the + app: purchase inbound, list your own offer, and let the Autopilot fulfil orders + — opening channels to buyers within your capital, channel-size and on-chain + reserve caps. + + + Lightning Mate signs in with the per-app password Umbrel generates for it + (shown when you open the app), so no other app on your server can read your + node or move your funds. +releaseNotes: "" +developer: opensourceminers.de +website: https://opensourceminers.de +dependencies: + - lightning +repo: https://github.com/opensourceminers/lightningmate +support: https://github.com/opensourceminers/lightningmate/issues +port: 3742 +gallery: + - 1.webp + - 2.webp + - 3.webp + - 4.webp + - 5.webp + - 6.webp +path: "" +defaultUsername: "" +defaultPassword: "" +deterministicPassword: true +submitter: opensourceminers +submission: "https://github.com/getumbrel/umbrel-apps/pull/5783"