docker: update heath check

This commit is contained in:
nym21
2026-03-25 10:33:14 +01:00
parent 6eea20b89a
commit 6d3307c0df
6 changed files with 7 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ RUN cargo build --release --locked
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates curl && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y ca-certificates procps && rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash brk

View File

@@ -32,11 +32,10 @@ services:
# - --rpccookiefile
# - /bitcoin/.cookie
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:3110/health"]
test: ["CMD", "pgrep", "-x", "brk"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
start_period: 10s
volumes:
brk-data:

View File

@@ -6357,7 +6357,7 @@ function createTransferPattern(client, acc) {
* @extends BrkClientBase
*/
class BrkClient extends BrkClientBase {
VERSION = "v0.2.1";
VERSION = "v0.2.2";
INDEXES = /** @type {const} */ ([
"minute10",

View File

@@ -40,5 +40,5 @@
"url": "git+https://github.com/bitcoinresearchkit/brk.git"
},
"type": "module",
"version": "0.2.1"
"version": "0.2.2"
}

View File

@@ -5655,7 +5655,7 @@ class SeriesTree:
class BrkClient(BrkClientBase):
"""Main BRK client with series tree and API methods."""
VERSION = "v0.2.1"
VERSION = "v0.2.2"
INDEXES = [
"minute10",

View File

@@ -1,6 +1,6 @@
[project]
name = "brk-client"
version = "0.2.1"
version = "0.2.2"
description = "Bitcoin on-chain analytics client — thousands of metrics, block explorer, and address index"
readme = "README.md"
requires-python = ">=3.9"