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-06-07 10:19:17 +00:00
|
|
|
image: getumbrel/umbrel-bitcoin:v0.3.0@sha256:115af951d7a4e696603c7468bcb4e119e02fe9c9deb28edb51d2e2d8207cab59
|
2022-05-27 10:14:11 +00:00
|
|
|
depends_on: [bitcoind]
|
|
|
|
restart: on-failure
|
|
|
|
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-05-27 10:14:11 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_BITCOIN_IP
|
|
|
|
|
|
|
|
bitcoind:
|
2022-08-16 06:15:19 +00:00
|
|
|
image: lncm/bitcoind:v23.0@sha256:57317c90d89156a30327fe1b8e51b836e0fd1a8ba13721eb2e75e6b35a570e26
|
2022-05-27 10:14:11 +00:00
|
|
|
command: "${APP_BITCOIN_COMMAND}"
|
|
|
|
restart: on-failure
|
|
|
|
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 10:08:44 +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:
|
|
|
|
HOME: "/tmp"
|