mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-20 21:23:41 +03:00
The Tor 0.4.8.17 bundled in jam-standalone v0.4.1 can no longer join the Tor network, which stops jmwalletd and makes Jam return 502. No newer stable Jam image exists, so disable the image's Tor service and run getumbrel/tor 0.4.9.14 in the web container's network namespace.
43 lines
1.7 KiB
YAML
43 lines
1.7 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: jam_web_1
|
|
APP_PORT: 80
|
|
|
|
web:
|
|
image: ghcr.io/joinmarket-webui/jam-standalone:v0.4.1-clientserver-v0.9.11@sha256:1b2491b6795bd56b5c7ff01a365c92c9699ad6c0456047bc4e9a30078d5cce6c
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
init: true
|
|
# The bundled Tor (0.4.8.x) can no longer join the Tor network, so turn off the
|
|
# image's own Tor service and use the tor sidecar below instead.
|
|
entrypoint: ["tini", "-g", "--", "sh", "-c", "echo 'type = internal' > /etc/dinit.d/tor && exec /jam-entrypoint.sh"]
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/joinmarket:/root/.joinmarket
|
|
environment:
|
|
RESTORE_DEFAULT_CONFIG: "true"
|
|
REMOVE_LOCK_FILES: "true"
|
|
ENSURE_WALLET: "true"
|
|
APP_USER: umbrel
|
|
APP_PASSWORD: "${APP_PASSWORD}"
|
|
jm_network: $APP_BITCOIN_NETWORK
|
|
jm_rpc_host: $APP_BITCOIN_NODE_IP
|
|
jm_rpc_port: $APP_BITCOIN_RPC_PORT
|
|
jm_rpc_user: $APP_BITCOIN_RPC_USER
|
|
jm_rpc_password: "${APP_BITCOIN_RPC_PASS}"
|
|
jm_rpc_wallet_file: jam_default
|
|
|
|
# Shares the web container's network namespace, so JoinMarket reaches it on
|
|
# localhost:9050 (SOCKS) and localhost:9051 (control), like the bundled Tor.
|
|
# The control port only listens inside that private namespace.
|
|
tor:
|
|
image: ghcr.io/getumbrel/tor:0.4.9.14@sha256:7663d18fe37b3edd97c859aa36bb5eeaa328d86c57729db0433dff430e8abd8d
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
network_mode: "service:web"
|
|
command: ["--SocksPort", "127.0.0.1:9050 IsolateDestAddr IsolateDestPort", "--ControlPort", "127.0.0.1:9051", "--CookieAuthentication", "0"]
|
|
environment:
|
|
HOME: "/tmp"
|