mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 09:52:09 +01:00
7322186b56
* Fix Tor hidden service config * default the target list to an empty list * Scala 2.12 compatibility * update docs * Fix typo Co-authored-by: Chris Stewart <stewart.chris1234@gmail.com>
53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
web:
|
|
image: bitcoinscala/wallet-server-ui:latest
|
|
user: 0:1000
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
volumes:
|
|
- ./data/wallet:/bitcoin-s
|
|
- ./data/log:/log
|
|
environment:
|
|
LOG_PATH: "/log/"
|
|
BITCOIN_S_HOME: "/bitcoin-s/"
|
|
MEMPOOL_API_URL: "http://mempool.space/api"
|
|
WALLET_SERVER_API_URL: "http://walletserver:9999/"
|
|
WALLET_SERVER_WS: "ws://walletserver:19999/events"
|
|
DEFAULT_UI_PASSWORD: $APP_PASSWORD
|
|
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
|
ports:
|
|
- "3002:3002"
|
|
depends_on:
|
|
- walletserver
|
|
walletserver:
|
|
image: bitcoinscala/bitcoin-s-server:latest
|
|
entrypoint: ["/opt/docker/bin/bitcoin-s-server", "--datadir", "/bitcoin-s", "--conf", "/opt/docker/docker-application.conf"]
|
|
user: 0:1000
|
|
restart: on-failure
|
|
volumes:
|
|
- ./data/wallet:/bitcoin-s
|
|
environment:
|
|
BITCOIN_S_NODE_MODE: "neutrino"
|
|
BITCOIN_S_NODE_PEERS: "neutrino.suredbits.com:8333"
|
|
BITCOIN_S_TOR_PROVIDED: "true"
|
|
BITCOIN_S_PROXY_ENABLED: "false"
|
|
BITCOIN_S_TOR_ENABLED: "false"
|
|
BITCOIN_S_DLCNODE_PROXY_ENABLED: "true"
|
|
BITCOIN_S_DLCNODE_TOR_ENABLED: "true"
|
|
BITCOIN_S_DLCNODE_PROXY_SOCKS5: "tor:9050"
|
|
BITCOIN_S_DLCNODE_TOR_CONTROL: "tor:9051"
|
|
BITCOIN_S_DLCNODE_TOR_PASSWORD: "topsecret"
|
|
BITCOIN_S_DLCNODE_TOR_TARGETS: "walletserver:2862"
|
|
BITCOIN_S_SERVER_RPC_PASSWORD: $APP_PASSWORD
|
|
DISABLE_JLINK: "1"
|
|
ports:
|
|
- "9999:9999"
|
|
depends_on:
|
|
- tor
|
|
tor:
|
|
image: bitcoinscala/tor:latest
|
|
entrypoint: ["/tor", "--ExitRelay", "0", "--BridgeRelay", "0", "--SOCKSPort", "0.0.0.0:9050", "--ControlPort", "0.0.0.0:9051", "--HashedControlPassword", "16:EF3A794FD6F30EF76049147EF252111809E7D51C049FEB353B547C1553"]
|
|
restart: on-failure
|