umbrel-apps/btc-rpc-explorer/docker-compose.yml
Steven Briscoe 19d19097d2
Add docs re using Docker DNS instead of container IPs (#197)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-10-13 15:27:05 +11:00

36 lines
1.0 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: btc-rpc-explorer_web_1
APP_PORT: 8080
web:
image: getumbrel/btc-rpc-explorer:v3.3.0@sha256:cfd14f8e722cfbf1ad106ba224569c8babe685422461a641abc210e13913c636
restart: on-failure
stop_grace_period: 1m
environment:
# Docker requirements
BTCEXP_HOST: 0.0.0.0
BTCEXP_PORT: 8080
# Bitcoin Core
BTCEXP_BITCOIND_HOST: $APP_BITCOIN_NODE_IP
BTCEXP_BITCOIND_PORT: $APP_BITCOIN_RPC_PORT
BTCEXP_BITCOIND_USER: $APP_BITCOIN_RPC_USER
BTCEXP_BITCOIND_PASS: $APP_BITCOIN_RPC_PASS
# Electrum
BTCEXP_ADDRESS_API: electrumx
BTCEXP_ELECTRUMX_SERVERS: "tcp://$APP_ELECTRS_NODE_IP:$APP_ELECTRS_NODE_PORT"
# Log level
DEBUG: "btcexp:*,electrumClient"
# Performance
BTCEXP_SLOW_DEVICE_MODE: "true"
BTCEXP_NO_INMEMORY_RPC_CACHE: "true"
# Privacy
BTCEXP_PRIVACY_MODE: "true"
BTCEXP_NO_RATES: "true"
# Disable RPC
BTCEXP_RPC_ALLOWALL: "false"
BTCEXP_BASIC_AUTH_PASSWORD: ""