mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 01:40:55 +01:00
52 lines
1.7 KiB
YAML
52 lines
1.7 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_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
|