2022-04-20 20:32:07 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2022-05-16 13:30:51 +00:00
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: $APP_SUREDBITS_WALLET_IP
|
|
|
|
APP_PORT: 3002
|
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
web:
|
2022-05-30 10:35:52 +00:00
|
|
|
image: bitcoinscala/wallet-server-ui:1.9.1@sha256:3eb479b106811d523c4e0cfde244949f6c76a27c7d1fe59be9b8b51ba2372649
|
2022-04-20 20:32:07 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: 1m
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/wallet:/home/bitcoin-s/.bitcoin-s
|
|
|
|
- ${APP_DATA_DIR}/data/log:/log
|
|
|
|
environment:
|
|
|
|
LOG_PATH: "/log/"
|
|
|
|
BITCOIN_S_HOME: "/home/bitcoin-s/.bitcoin-s/"
|
|
|
|
MEMPOOL_API_URL: "http://umbrel.local:${APP_MEMPOOL_PORT}/api"
|
|
|
|
WALLET_SERVER_API_URL: "http://${APP_SUREDBITS_WALLET_SERVER_IP}:9999/"
|
|
|
|
WALLET_SERVER_WS: "ws://${APP_SUREDBITS_WALLET_SERVER_IP}:19999/events"
|
|
|
|
TOR_PROXY: socks5://${TOR_PROXY_IP}:${TOR_PROXY_PORT}
|
|
|
|
DEFAULT_UI_PASSWORD: $APP_PASSWORD
|
|
|
|
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_SUREDBITS_WALLET_IP
|
|
|
|
depends_on:
|
|
|
|
- walletserver
|
2022-05-16 13:30:51 +00:00
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
walletserver:
|
2022-05-30 10:35:52 +00:00
|
|
|
image: bitcoinscala/bitcoin-s-server:1.9.1-34-3dc70938-SNAPSHOT@sha256:1cd82d19059382f740f7b8acbc2d3aaeaf0c1fd7c662bdbc3ef7b97a27ee181f
|
2022-04-20 20:32:07 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/wallet:/home/bitcoin-s/.bitcoin-s
|
|
|
|
environment:
|
2022-05-30 10:35:52 +00:00
|
|
|
BITCOIN_S_NODE_MODE: "bitcoind"
|
2022-05-27 10:14:11 +00:00
|
|
|
BITCOIN_S_NETWORK: $APP_BITCOIN_NETWORK
|
2022-04-20 20:32:07 +00:00
|
|
|
BITCOIN_S_KEYMANAGER_ENTROPY: $APP_SEED
|
|
|
|
BITCOIN_S_PROXY_ENABLED: "false"
|
|
|
|
BITCOIN_S_TOR_ENABLED: "false"
|
|
|
|
BITCOIN_S_TOR_PROVIDED: "true"
|
|
|
|
BITCOIN_S_DLCNODE_PROXY_ENABLED: "true"
|
|
|
|
BITCOIN_S_DLCNODE_PROXY_SOCKS5: "${TOR_PROXY_IP}:${TOR_PROXY_PORT}"
|
2022-05-27 10:14:11 +00:00
|
|
|
BITCOIN_S_DLCNODE_EXTERNAL_IP: $APP_SUREDBITS_WALLET_P2P_HIDDEN_SERVICE
|
|
|
|
BITCOIN_S_BITCOIND_HOST: $APP_BITCOIN_NODE_IP
|
|
|
|
BITCOIN_S_BITCOIND_PORT: $APP_BITCOIN_RPC_PORT
|
|
|
|
BITCOIN_S_BITCOIND_USER: $APP_BITCOIN_RPC_USER
|
|
|
|
BITCOIN_S_BITCOIND_PASSWORD: $APP_BITCOIN_RPC_PASS
|
2022-04-20 20:32:07 +00:00
|
|
|
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
|
|
|
ports:
|
|
|
|
- "$APP_SUREDBITS_WALLET_P2P_PORT:$APP_SUREDBITS_WALLET_P2P_PORT"
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_SUREDBITS_WALLET_SERVER_IP
|