A lightweight, self-hosted dashboard & explorer for a BitcoinII full node, designed to run alongside kzwo/bitcoin-ii using Docker or Docker Compose.
Node status & sync overview
Shows:
RPC-only explorer (UTXO-based)
Supports:
Recommended:
mkdir bitcoinii-stack
cd bitcoinii-stack
docker-compose.ymlservices:
bitcoinii:
image: kzwo/bitcoin-ii:latest
container_name: bitcoinii
restart: unless-stopped
volumes:
- bc2-data:/data
ports:
- "8338:8338" # P2P
- "127.0.0.1:8339:8339" # local-only service
command:
- "-printtoconsole=1"
- "-server=1"
- "-rpcport=8337"
- "-rpcbind=0.0.0.0"
- "-rpcallowip=172.30.0.0/24"
healthcheck:
test: ["CMD-SHELL", "bitcoinII-cli -datadir=/data -rpcwait=30 getblockchaininfo >/dev/null 2>&1 || exit 1"]
interval: 30s
timeout: 10s
retries: 20
start_period: 120s
networks:
bc2net:
ipv4_address: 172.30.0.10
dashboard:
image: kzwo/bitcoin-ii-dashboard:latest
container_name: bitcoinii-dashboard
restart: unless-stopped
depends_on:
bitcoinii:
condition: service_healthy
volumes:
- bc2-data:/data:ro # read-only access to RPC cookie
environment:
RPC_HOST: bitcoinii
RPC_PORT: "8337"
RPC_COOKIE: "/data/.cookie"
# Future use
INDEXER_ENABLED: "false"
INDEXER_PROVIDER: ""
ports:
- "127.0.0.1:3000:3000"
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000/health | grep -q '\"ok\"'"]
interval: 15s
timeout: 5s
retries: 10
start_period: 20s
networks:
bc2net:
ipv4_address: 172.30.0.20
networks:
bc2net:
driver: bridge
ipam:
config:
- subnet: 172.30.0.0/24
volumes:
bc2-data:
docker compose up -d
Health Dashboard: 👉 http://127.0.0.1:3000/health-ui
Explorer: 👉 http://127.0.0.1:3000/explorer
(Root / redirects to Explorer)
The BitcoinII node creates an RPC cookie at:
/data/.cookie
The dashboard mounts this file read-only
No RPC username/password required
RPC port is never exposed publicly
This matches Bitcoin Core’s recommended security model.
/health — JSON health endpoint (Docker / k8s friendly)docker compose logs -f bitcoinii
docker compose logs -f dashboard
docker compose down
docker compose up -d
docker compose pull
docker compose up -d
If bitcoinIId runs natively:
docker run -d \
--name bitcoinii-dashboard \
-p 127.0.0.1:3000:3000 \
-v ~/.bitcoinII:/data:ro \
-e RPC_COOKIE=/data/.cookie \
-e RPC_HOST=host.docker.internal \
-e RPC_PORT=8337 \
kzwo/bitcoin-ii-dashboard:latest
Contributions are welcome!
Ideas:
/metrics endpointgit clone https://github.com/kleokzwo/health_check
cd health_check/dashboard
docker build -t bitcoinii-dashboard-dev .
docker run -p 3000:3000 bitcoinii-dashboard-dev
This is an unofficial community project and not endorsed by the BitcoinII Core developers.
Use at your own risk.
MIT
Content type
Image
Digest
sha256:23449a25a…
Size
48.4 MB
Last updated
10 months ago
docker pull kzwo/bitcoin-ii-dashboard