mirror of
https://github.com/Retropex/umbrel-apps.git
synced 2025-05-12 19:30:42 +02:00
Update Bitcoin Knots to 27.1.2-swappable.4 (#1987)
Co-authored-by: nmfretz <nmfretz@gmail.com>
This commit is contained in:
parent
0dc4e4d2ec
commit
98ff0e2200
@ -45,6 +45,7 @@ services:
|
||||
|
||||
bitcoind:
|
||||
image: ghcr.io/retropex/bitcoin:v27.1@sha256:58553f26a73be8aed2c318e49fbbd3dc16e4e6158e4d75a59fcb42a2ce104e97
|
||||
user: "1000:1000"
|
||||
command: "${APP_BITCOIN_KNOTS_COMMAND}"
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 15m30s
|
||||
|
@ -155,7 +155,6 @@ for var in \
|
||||
RPC_AUTH \
|
||||
INTERNAL_RPC_PORT \
|
||||
INTERNAL_P2P_PORT \
|
||||
INTERNAL_tor_PORT \
|
||||
COMMAND \
|
||||
RPC_HIDDEN_SERVICE \
|
||||
P2P_HIDDEN_SERVICE \
|
||||
|
@ -1,5 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Recursively chown the bitcoind data directory if this is an install impacted by the bitcoind container running as root.
|
||||
|
||||
APP_DIR="$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
BITCOIND_DATA_DIR="${APP_DIR}/data/bitcoin"
|
||||
IS_BITCOIND_PERMISSIONS_SET="${APP_DIR}/data/IS_BITCOIND_PERMISSIONS_SET"
|
||||
|
||||
# If no blocks directory exists, we write out the file to indicate that this is a fresh install with correct permissions.
|
||||
if [[ ! -d "${BITCOIND_DATA_DIR}/blocks" ]] && [[ ! -d "${BITCOIND_DATA_DIR}/testnet3/blocks" ]] && [[ ! -d "${BITCOIND_DATA_DIR}/signet/blocks" ]] && [[ ! -d "${BITCOIND_DATA_DIR}/regtest/blocks" ]]
|
||||
then
|
||||
touch "${IS_BITCOIND_PERMISSIONS_SET}"
|
||||
fi
|
||||
|
||||
# If the file exists, we know that the permissions have already been set.
|
||||
if [[ ! -f "${IS_BITCOIND_PERMISSIONS_SET}" ]]
|
||||
then
|
||||
chown -R 1000:1000 "${BITCOIND_DATA_DIR}"
|
||||
touch "${IS_BITCOIND_PERMISSIONS_SET}"
|
||||
fi
|
||||
|
||||
# Delay booting Bitcoin until the RPC and P2P Tor Hidden Services are ready
|
||||
|
||||
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-rpc/hostname"
|
||||
|
@ -4,7 +4,7 @@ implements:
|
||||
- bitcoin
|
||||
category: bitcoin
|
||||
name: Bitcoin Knots
|
||||
version: "27.1.2-swappable.3"
|
||||
version: "27.1.2-swappable.4"
|
||||
tagline: Run your personal node powered by Bitcoin Knots
|
||||
description: >-
|
||||
Take control of your digital sovereignty by running a Bitcoin node that aligns with your needs and preferences.
|
||||
@ -25,7 +25,8 @@ gallery:
|
||||
path: ""
|
||||
defaultPassword: ""
|
||||
releaseNotes: >-
|
||||
Important bug fixes.
|
||||
This release fixes a bug that prevented some apps from connecting to Bitcoin Knots.
|
||||
|
||||
|
||||
**🔔 And in case you missed it:**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user