2022-05-27 10:14:11 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: $APP_BITCOIN_IP
|
|
|
|
APP_PORT: 3005
|
|
|
|
|
|
|
|
server:
|
2022-12-22 13:48:31 +00:00
|
|
|
image: getumbrel/umbrel-bitcoin:v0.4.1@sha256:edc0567efeadf30128313308e2dadbfaa1f339ce666579646c3b9353834bb888
|
2022-05-27 10:14:11 +00:00
|
|
|
depends_on: [bitcoind]
|
|
|
|
restart: on-failure
|
2022-12-22 12:24:33 +00:00
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/app:/data # volume to persist advanced settings json
|
|
|
|
- ${APP_BITCOIN_DATA_DIR}:/bitcoin/.bitcoin # volume to persist umbrel-bitcoin.conf and bitcoin.conf
|
2022-05-27 10:14:11 +00:00
|
|
|
environment:
|
|
|
|
PORT: "3005"
|
|
|
|
BITCOIN_HOST: "${APP_BITCOIN_NODE_IP}"
|
|
|
|
RPC_PORT: "${APP_BITCOIN_RPC_PORT}"
|
2022-05-30 13:11:14 +00:00
|
|
|
BITCOIN_RPC_PORT: "${APP_BITCOIN_RPC_PORT}"
|
2022-05-27 10:14:11 +00:00
|
|
|
RPC_USER: "${APP_BITCOIN_RPC_USER}"
|
2022-05-30 13:11:14 +00:00
|
|
|
BITCOIN_RPC_USER: "${APP_BITCOIN_RPC_USER}"
|
2022-05-27 10:14:11 +00:00
|
|
|
RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
|
2022-05-30 13:11:14 +00:00
|
|
|
BITCOIN_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
|
2022-05-27 10:14:11 +00:00
|
|
|
BITCOIN_RPC_HIDDEN_SERVICE: "${APP_BITCOIN_RPC_HIDDEN_SERVICE}"
|
|
|
|
BITCOIN_P2P_HIDDEN_SERVICE: "${APP_BITCOIN_P2P_HIDDEN_SERVICE}"
|
2022-05-30 13:11:14 +00:00
|
|
|
BITCOIN_P2P_PORT: "${APP_BITCOIN_P2P_PORT}"
|
2022-06-03 15:46:56 +00:00
|
|
|
DEVICE_DOMAIN_NAME: "${DEVICE_DOMAIN_NAME}"
|
2022-12-22 12:24:33 +00:00
|
|
|
BITCOIN_DEFAULT_NETWORK: "${BITCOIN_DEFAULT_NETWORK:-mainnet}"
|
|
|
|
BITCOIN_INITIALIZE_WITH_CLEARNET_OVER_TOR: "${BITCOIN_INITIALIZE_WITH_CLEARNET_OVER_TOR:-unset}"
|
|
|
|
BITCOIND_IP: "${APP_BITCOIN_NODE_IP}"
|
|
|
|
TOR_PROXY_IP: "${APP_BITCOIN_TOR_PROXY_IP}"
|
|
|
|
TOR_PROXY_PORT: "9050"
|
|
|
|
TOR_PROXY_CONTROL_PORT: "9051"
|
|
|
|
TOR_PROXY_CONTROL_PASSWORD: "moneyprintergobrrr"
|
|
|
|
I2P_DAEMON_IP: "${APP_BITCOIN_I2P_DAEMON_IP}"
|
|
|
|
I2P_DAEMON_PORT: "7656"
|
2022-05-27 10:14:11 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_BITCOIN_IP
|
|
|
|
|
|
|
|
bitcoind:
|
2022-12-22 12:24:33 +00:00
|
|
|
image: getumbrel/bitcoind:v24.0.1@sha256:33ff257bd8a24b41bef5b5c3aea1e32ea6dcc08917e24122728687eb393814fa
|
2022-05-27 10:14:11 +00:00
|
|
|
command: "${APP_BITCOIN_COMMAND}"
|
2022-12-22 12:24:33 +00:00
|
|
|
restart: unless-stopped
|
2022-05-27 10:14:11 +00:00
|
|
|
stop_grace_period: 15m30s
|
|
|
|
volumes:
|
|
|
|
- "${APP_BITCOIN_DATA_DIR}:/data/.bitcoin"
|
|
|
|
ports:
|
|
|
|
- "${APP_BITCOIN_P2P_PORT}:${APP_BITCOIN_P2P_PORT}"
|
2022-06-03 15:46:56 +00:00
|
|
|
- "${APP_BITCOIN_RPC_PORT}:${APP_BITCOIN_RPC_PORT}"
|
2022-05-27 10:14:11 +00:00
|
|
|
networks:
|
|
|
|
default:
|
2022-10-25 14:23:21 +00:00
|
|
|
ipv4_address: $APP_BITCOIN_NODE_IP
|
|
|
|
|
|
|
|
tor:
|
|
|
|
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
|
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
|
|
|
|
- ${TOR_DATA_DIR}:/data
|
|
|
|
environment:
|
2022-11-28 14:19:54 +00:00
|
|
|
HOME: "/tmp"
|
2022-12-22 12:24:33 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: "${APP_BITCOIN_TOR_PROXY_IP}"
|
|
|
|
|
|
|
|
i2pd_daemon:
|
|
|
|
image: purplei2p/i2pd:release-2.44.0@sha256:d154a599793c393cf9c91f8549ba7ece0bb40e5728e1813aa6dd4c210aa606f6
|
|
|
|
user: "root"
|
|
|
|
command: --sam.enabled=true --sam.address=0.0.0.0 --sam.port=7656 --loglevel=error
|
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/i2pd:/home/i2pd/data
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: "${APP_BITCOIN_I2P_DAEMON_IP}"
|