No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
11 additions and
2 deletions
-
docker-compose.yml
-
scripts/configure
-
scripts/update/01-run.sh
-
templates/electrs-sample.toml
|
|
@ -195,7 +195,7 @@ services: |
|
|
|
ipv4_address: $NEUTRINO_SWITCHER_IP |
|
|
|
electrs: |
|
|
|
container_name: electrs |
|
|
|
image: getumbrel/electrs:v0.8.11@sha256:71f3cb021f113fbeaf2312d37998c1dc99ff2c7a399d29c9e540b16e62c3696c |
|
|
|
image: getumbrel/electrs:v0.9.0@sha256:e52c137ec59b44d76695722f03a5fc021c9b02c2e40c324b4bb6094b358561e8 |
|
|
|
volumes: |
|
|
|
- ${PWD}/bitcoin:/data/.bitcoin:ro |
|
|
|
- ${PWD}/electrs:/data |
|
|
|
|
|
@ -322,6 +322,7 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" " |
|
|
|
sed -i "s/<middleware-ip>/${MIDDLEWARE_IP}/g" "${template}" |
|
|
|
sed -i "s/<neutrino-switcher-ip>/${NEUTRINO_SWITCHER_IP}/g" "${template}" |
|
|
|
sed -i "s/<bitcoin-ip>/${BITCOIN_IP}/g" "${template}" |
|
|
|
sed -i "s/<bitcoin-p2p-port>/${BITCOIN_P2P_PORT}/g" "${template}" |
|
|
|
sed -i "s/<lnd-ip>/${LND_IP}/g" "${template}" |
|
|
|
sed -i "s/<lnd-grpc-port>/${LND_GRPC_PORT}/g" "${template}" |
|
|
|
sed -i "s/<lnd-rest-port>/${LND_REST_PORT}/g" "${template}" |
|
|
|
|
|
@ -195,6 +195,13 @@ rsync --archive \ |
|
|
|
"$UMBREL_ROOT"/.umbrel-"$RELEASE"/ \ |
|
|
|
"$UMBREL_ROOT"/ |
|
|
|
|
|
|
|
# Remove legacy electrs dir |
|
|
|
legacy_electrs_dir="${UMBREL_ROOT}/electrs/db/mainnet" |
|
|
|
if [[ -d "${legacy_electrs_dir}" ]]; then |
|
|
|
echo "Found legacy electrs dir, removing it..." |
|
|
|
rm --recursive --force "${legacy_electrs_dir}" |
|
|
|
fi |
|
|
|
|
|
|
|
# Handle updating static assets for samourai-server app |
|
|
|
samourai_app_dir="${UMBREL_ROOT}/apps/samourai-server/nginx" |
|
|
|
samourai_data_dir="${UMBREL_ROOT}/app-data/samourai-server/nginx" |
|
|
|
|
|
@ -2,9 +2,10 @@ |
|
|
|
# modifications you make can break the functionality of your umbrel. These files |
|
|
|
# are automatically reset with every Umbrel update. |
|
|
|
|
|
|
|
verbose = 4 |
|
|
|
verbose = 2 |
|
|
|
network = "bitcoin" |
|
|
|
db_dir = "/data/db" |
|
|
|
daemon_rpc_addr = "<bitcoin-ip>:<port>" |
|
|
|
daemon_p2p_addr = "<bitcoin-ip>:<bitcoin-p2p-port>" |
|
|
|
electrum_rpc_addr = "0.0.0.0:<electrum-port>" |
|
|
|
server_banner = "Umbrel v<version>" |
|
|
|