From d8bc4548de0c016f60b508647766f77a97a23af2 Mon Sep 17 00:00:00 2001 From: jackstar12 Date: Tue, 12 Mar 2024 23:10:40 +0100 Subject: [PATCH] Add boltz-client to core-lightning-rtl --- core-lightning-rtl/boltz/.gitkeep | 0 core-lightning-rtl/docker-compose.yml | 21 +++++++++++++++++++++ core-lightning-rtl/umbrel-app.yml | 13 ++++--------- 3 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 core-lightning-rtl/boltz/.gitkeep diff --git a/core-lightning-rtl/boltz/.gitkeep b/core-lightning-rtl/boltz/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/core-lightning-rtl/docker-compose.yml b/core-lightning-rtl/docker-compose.yml index 20f15dc977..b6c96a7429 100644 --- a/core-lightning-rtl/docker-compose.yml +++ b/core-lightning-rtl/docker-compose.yml @@ -19,6 +19,27 @@ services: RTL_CONFIG_PATH: "/data" RTL_COOKIE_PATH: "/data/.cookie" BLOCK_EXPLORER_URL: "${APP_CORE_RTL_BLOCK_EXPLORER_URL}" + # Boltz + BOLTZ_SERVER_URL: "https://core-lightning-rtl_boltz_1:9003" + BOLTZ_MACAROON_PATH: "/boltz/.boltz/macaroons" volumes: - "${APP_DATA_DIR}/data/rtl:/data" - "${APP_CORE_LIGHTNING_DATA_DIR}:/root/.lightning:ro" + - "${APP_DATA_DIR}/boltz:/boltz:ro" + + boltz: + image: boltz/boltz-client:2.3.9@sha256:4de5be20d3a60399005a2ac08a058eb008f42dfd7918b50fd0c315dea7799c3e + restart: "on-failure" + stop_grace_period: "1m" + environment: + HOME: "/data" + volumes: + - "${APP_DATA_DIR}/boltz:/data" + - "${APP_CORE_LIGHTNING_DATA_DIR}:/cln:ro" + command: + - --network=$APP_BITCOIN_NETWORK + - --cln.datadir=/cln + - --cln.host=$APP_CORE_LIGHTNING_DAEMON_IP + - --cln.port=$APP_CORE_LIGHTNING_DAEMON_GRPC_PORT + - --rpc.rest.host="0.0.0.0" + - --rpc.rest.port="9003" diff --git a/core-lightning-rtl/umbrel-app.yml b/core-lightning-rtl/umbrel-app.yml index 651d6ec7c3..76a39b29f6 100644 --- a/core-lightning-rtl/umbrel-app.yml +++ b/core-lightning-rtl/umbrel-app.yml @@ -2,11 +2,11 @@ manifestVersion: 1.1 id: core-lightning-rtl category: bitcoin name: Ride The Lightning (Core Lightning) -version: "0.15.4-beta" +version: "0.15.4-beta-boltz" tagline: Manage your Core Lightning node with RTL description: >- This version of RTL is specifically configured to use your Core Lightning node. - + RTL provides a full function, device agnostic, web user interface to help manage lightning node operation. It enables full control over your lightning node with rich functionality for Bitcoin base layer and Lightning Network. @@ -44,13 +44,8 @@ gallery: path: "" deterministicPassword: true releaseNotes: >- - - Improved authentication logic for clearer error handling and validation during login and password reset processes - - - Refined application settings handling to ensure stricter validation of access keys - - - Bug fixes - + This update adds Boltz as a service, allowing users to swap in and out of the Lightning Network. - Full release notes can be found here: https://github.com/Ride-The-Lightning/RTL/releases + About Boltz: https://boltz.exchange submitter: Umbrel submission: https://github.com/getumbrel/umbrel-apps/pull/7