The bitcoin-regtest-dashboard application is a multi-service stack composed of Bitcoin Core (running in regtest mode), electrs (an Electrum server implementation), and the dashboard UI itself.
To deploy this stack, ensure the ${APP_DATA_DIR} environment variable is set, as it defines the base path for all persistent data volumes. The services rely on specific volume mappings to share Bitcoin data and RPC cookies.
Service Components
- bitcoin: Runs Bitcoin Core in
regtest mode. It automatically creates a wallet named regtest_wallet and generates an initial block. - electrs: Provides an Electrum-compatible interface. It requires read-only access to the Bitcoin data directory.
- dashboard: The web interface that connects to both the Bitcoin RPC and the Electrs server.
Data Persistence
All services use the following volume structure under ${APP_DATA_DIR}:
- Bitcoin data:
${APP_DATA_DIR}/data/bitcoin - Electrs data:
${APP_DATA_DIR}/data/electrs
version: "3.7"
services:
app_proxy:
environment:
APP_HOST: bitcoin-regtest-dashboard_dashboard_1
APP_PORT: 3000
bitcoin:
image: ghcr.io/getumbrel/docker-bitcoind:v31.0@sha256:89185fc2792a9824cbe18f7ad4ead02a3a9a14adf5b34eb42f60ebec36201fa0
volumes:
- ${APP_DATA_DIR}/data/bitcoin:/data/.bitcoin
electrs:
image: getumbrel/electrs:v0.11.0@sha256:0a2c6f573abfd8d724651c6ba1c1f3a9c740219c1cf0f4468043c3342170d8a5
volumes:
- ${APP_DATA_DIR}/data/electrs:/data
- ${APP_DATA_DIR}/data/bitcoin:/data/.bitcoin:ro
dashboard:
image: coreylphillips/bitcoin-regtest-dashboard:v1.0.4@sha256:d71e099ec53426cecd05899a7f8efe2b73bfc1d0c21750ac53dc2b2dad107820
volumes:
- ${APP_DATA_DIR}/data/bitcoin:/bitcoin/.bitcoin:ro