diff --git a/woofbot-lnd/data/db/diagnostic.data/.gitkeep b/woofbot-lnd/data/db/diagnostic.data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/woofbot-lnd/data/db/journal/.gitkeep b/woofbot-lnd/data/db/journal/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/woofbot-lnd/data/server-logs/.gitkeep b/woofbot-lnd/data/server-logs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/woofbot-lnd/docker-compose.yml b/woofbot-lnd/docker-compose.yml new file mode 100644 index 0000000..3bd44f7 --- /dev/null +++ b/woofbot-lnd/docker-compose.yml @@ -0,0 +1,43 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: woofbot-lnd_web_1 + APP_PORT: 8080 + + web: + image: woofbot/woofbot:v0.7.0@sha256:36f024668d4c27738f3e2676bc949408b63e2bdffd2c2e450c8c0ae1f0776956 + user: 1000:1000 + restart: on-failure + stop_grace_period: 1m + environment: + MONGODB_URI: "mongodb://woofbot-lnd_mongodb_1:27017/woofbot" + APP_PORT: "8080" + APP_SEED: $APP_SEED + APP_BITCOIN_NODE_IP: $APP_BITCOIN_NODE_IP + APP_BITCOIN_RPC_USER: $APP_BITCOIN_RPC_USER + APP_BITCOIN_RPC_PASS: $APP_BITCOIN_RPC_PASS + APP_BITCOIN_RPC_PORT: $APP_BITCOIN_RPC_PORT + APP_LIGHTNING_NODE_IP: $APP_LIGHTNING_NODE_IP + APP_LIGHTNING_NODE_GRPC_PORT: $APP_LIGHTNING_NODE_GRPC_PORT + LND_TLS_PATH: "/lnd/tls.cert" + LND_READONLY_MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/readonly.macaroon" + SERVER_LOGS_FILEPATH: /app/logs/server.log + volumes: + - ${APP_DATA_DIR}/data/server-logs:/app/logs + - "${APP_LIGHTNING_NODE_DATA_DIR}/tls.cert:/lnd/tls.cert:ro" + - "${APP_LIGHTNING_NODE_DATA_DIR}/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/readonly.macaroon:/lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/readonly.macaroon:ro" + depends_on: + - mongodb + + mongodb: + # Newer mongo versions don't support Raspberry Pi 4 arm64 + image: mongo:4.4.6-bionic@sha256:3d0e6df9fd5bc42cbf8ef8bc9e6c4e78f6f26c7157dbd7bdec72d202ab8ebe3a + user: 1000:1000 + restart: on-failure + stop_grace_period: 1m + volumes: + - ${APP_DATA_DIR}/data/db:/data/db + - ${APP_DATA_DIR}/data/db/diagnostic.data:/data/db/diagnostic.data + - ${APP_DATA_DIR}/data/db/journal:/data/db/journal diff --git a/woofbot-lnd/umbrel-app.yml b/woofbot-lnd/umbrel-app.yml new file mode 100644 index 0000000..a6f43d3 --- /dev/null +++ b/woofbot-lnd/umbrel-app.yml @@ -0,0 +1,35 @@ +manifestVersion: 1.1 +id: woofbot-lnd +category: Finance +name: WoofBot (LND) +version: "0.7.0" +tagline: A chatbot for your personal node +description: >- + WoofBot is a chat bot that runs on your personal Bitcoin node and sends telegram notifications + based on pre-configured conditions: addresses, transactions, new-blocks and price changes. + + This version of WoofBot integrates with LND lightning api. WoofBot is NOT affiliated with + Lightning Labs, the creators of LND. WoofBot only communicates with LND's api. +developer: WoofBotApp +website: https://github.com/woofbotapp +dependencies: + - bitcoin + - lightning +repo: https://github.com/woofbotapp/woofbotapp +support: https://github.com/woofbotapp/woofbotapp/discussions +port: 8093 +gallery: + - 1.jpg + - 2.jpg + - 3.jpg +path: "" +defaultUsername: "" +defaultPassword: "" +releaseNotes: > + - Notification when a lightning channel is opened + + - Notification when a lightning channel is closed + + - Notification on payment forwarding +submitter: WoofBotApp +submission: https://github.com/getumbrel/umbrel-apps/pull/442