diff --git a/datum/hooks/pre-start b/datum/hooks/pre-start index 59a891da14..df2302182b 100755 --- a/datum/hooks/pre-start +++ b/datum/hooks/pre-start @@ -10,7 +10,7 @@ if [ -f "${DATUM_CONFIG_FILE}" ]; then echo "Checking DATUM configuration file." # Check if Knots environment variables are set - if [ -z "${APP_BITCOIN_KNOTS_RPC_USER}" ] || [ -z "${APP_BITCOIN_KNOTS_RPC_PASS}" ] || [ -z "${APP_BITCOIN_KNOTS_NODE_IP}" ] || [ -z "${APP_BITCOIN_KNOTS_INTERNAL_RPC_PORT}" ]; then + if [ -z "${APP_BITCOIN_RPC_USER}" ] || [ -z "${APP_BITCOIN_RPC_PASS}" ] || [ -z "${APP_BITCOIN_NODE_IP}" ] || [ -z "${APP_BITCOIN_RPC_PORT}" ]; then echo "Missing Bitcoin Knots environment variables. Exiting." exit 1 fi @@ -18,9 +18,9 @@ if [ -f "${DATUM_CONFIG_FILE}" ]; then echo "Initializing DATUM config with Bitcoin Knots RPC settings." # Update the configuration - jq --arg user "$APP_BITCOIN_KNOTS_RPC_USER" \ - --arg pass "$APP_BITCOIN_KNOTS_RPC_PASS" \ - --arg url "${APP_BITCOIN_KNOTS_NODE_IP}:${APP_BITCOIN_KNOTS_INTERNAL_RPC_PORT}" \ + jq --arg user "$APP_BITCOIN_RPC_USER" \ + --arg pass "$APP_BITCOIN_RPC_PASS" \ + --arg url "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}" \ '.bitcoind.rpcuser = $user | .bitcoind.rpcpassword = $pass | .bitcoind.rpcurl = $url' \ diff --git a/datum/umbrel-app.yml b/datum/umbrel-app.yml index e4922f43e3..08a4aa02db 100644 --- a/datum/umbrel-app.yml +++ b/datum/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1.1 id: datum category: bitcoin name: DATUM -version: "v0.4.1-beta-hotfix.1" +version: "v0.4.1beta-rev2" tagline: Self-sovereign Bitcoin mining description: >- ⚙️ Please read the important setup instructions at the bottom of this page. @@ -57,7 +57,7 @@ description: >- developer: OCEAN website: https://ocean.xyz dependencies: - - bitcoin-knots + - bitcoin repo: https://github.com/OCEAN-xyz/datum_gateway support: https://ocean.xyz port: 21000 @@ -69,7 +69,7 @@ path: "" defaultUsername: "admin" deterministicPassword: true releaseNotes: >- - This update improves DATUM Gateway stability for setups with many connected miners by increasing the service's open file limit to match the Debian DATUM Gateway package. No action is required after updating. + Now allows any bitcoin node app to fetch templates. widgets: - id: "stats" type: "three-stats"