Files
umbrel-apps/elements/docker-compose.yml
T
Luke Childs 9f636edda0 Update app Tor sidecars to 0.4.9.11 for all affected apps
- replace every app-owned `getumbrel/tor:0.4.7.8` reference with `ghcr.io/getumbrel/tor:0.4.9.11`
- pin the public multiarch manifest list at `sha256:e382b8629c0dfef6ceb396b062622d4e4e955b19d6f16b883fd2c0723ad5671a`
- bump each affected package using `-patch.N` notation so existing installations are offered the update without implying an upstream app-version bump
- add Tor security/connectivity release notes while retaining prior upgrade warnings for users who skip releases

Affected apps: Bitcoin Knots, Bitcoin Node, Blockstream Blind Oracle, Core Lightning, Electrs, ElectrumX, Elements Core, Fulcrum, Libre Relay, Lightning Node, Monero Node, Samourai Server, Squeaknode, Suredbits Wallet, and TDEX Provider.

These packages still use Tor 0.4.7.8, which is EOL and can no longer reliably bootstrap against the current Tor network. Tor 0.4.9.11 is the current stable security patch release. The replacement image preserves Umbrel's existing `tor` entrypoint and supports both linux/amd64 and linux/arm64.
2026-07-10 22:51:40 +07:00

71 lines
2.4 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: elements_web_1
APP_PORT: 8080
node:
image: ghcr.io/vulpemventures/elements:23.3.3@sha256:8900acd1f8eb4bb9e3f66cd400419155b273137e4526cc5d670ea1a5a25018d8
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
ports:
- $APP_ELEMENTS_NODE_RPC_PORT:$APP_ELEMENTS_NODE_RPC_PORT # JSONRPC
- $APP_ELEMENTS_NODE_P2P_PORT:$APP_ELEMENTS_NODE_P2P_PORT # P2P PORT
volumes:
- ${APP_DATA_DIR}/data:/home/elements/.elements
command:
- -listen=0
- -txindex=1
- -trim_headers=1
# Current Elements Core requires >8GB of RAM to verify confidential proofs during IBD
# We skip historical block verification for now, as we don't have a way to set the memory limit
- -assumevalid=546a756e0238e8c5c2c8bee43f0395740519f96aaee5994d05ef6569ce2d0821
- -validatepegin=1
- -fallbackfee=0.000001
# Attach to Bitcoin network
- -mainchainrpchost=$APP_BITCOIN_NODE_IP
- -mainchainrpcport=$APP_BITCOIN_RPC_PORT
- -mainchainrpcuser=$APP_BITCOIN_RPC_USER
- -mainchainrpcpassword=$APP_BITCOIN_RPC_PASS
# Elements RPC
- -rpcuser=elements
- -rpcpassword=$APP_PASSWORD
- -rpcbind=0.0.0.0 # can we do better here?
- -rpcallowip=0.0.0.0/0 # can we do better here?
- -rpcport=$APP_ELEMENTS_NODE_RPC_PORT
# P2P
- -port=$APP_ELEMENTS_NODE_P2P_PORT
- -blockfilterindex=1
- -peerblockfilters=1
# Enable creating discounted CT on mainnet
- -creatediscountct=1
web:
image: ghcr.io/tiero/elements-web:v0.0.3@sha256:b80dc0df2a4693668a97b874aad6d0a8d3239d03f4d05b4342600166934d0b87
user: "1000:1000"
depends_on:
- node
restart: on-failure
environment:
RPC_USER: elements
RPC_PASS: $APP_PASSWORD
RPC_PORT: $APP_ELEMENTS_NODE_RPC_PORT
RPC_HOST: elements_node_1
P2P_PORT: $APP_ELEMENTS_NODE_P2P_PORT
# Remote
REMOTE_RPC_HOST: $APP_ELEMENTS_RPC_HIDDEN_SERVICE
REMOTE_P2P_HOST: $APP_ELEMENTS_P2P_HIDDEN_SERVICE
tor:
image: ghcr.io/getumbrel/tor:0.4.9.11@sha256:e382b8629c0dfef6ceb396b062622d4e4e955b19d6f16b883fd2c0723ad5671a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"