albok-service: 0.1.1 (health fix) on nh3-docker
This commit is contained in:
@@ -6,12 +6,12 @@ The FastAPI process that owns Albok's buildings-and-wings store (`vh/albok`,
|
||||
|
||||
- **URL:** `http://albok.nh3.internal:8392` (= `http://10.100.50.40:8392`). Container port 8390.
|
||||
⚠ Host port **8392**, because **8390 on nh3-docker is the althing post office**.
|
||||
- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.0` @ `sha256:9ae2c94e…` (pinned in
|
||||
`compose.yaml`), built from vh/albok `0b37431` (tag v0.1.1; albok core 0.1.1 inside).
|
||||
- **Health:** `GET /health` (no auth). ⚠ 0.1.0 reports `"status": "degraded"` even when everything
|
||||
is fine: `health.py` treats canary values other than ok/healthy/ready as dead, and the canary
|
||||
reports `"alive"`. Reported to albok-dev. Read the fields, not `status`. The Docker healthcheck
|
||||
only checks for HTTP 200.
|
||||
- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.1` @ `sha256:33e4e98a…` (pinned in
|
||||
`compose.yaml`), built from vh/albok `e349d50` (tag albok-service/v0.1.1; albok core 0.1.1). 0.1.0 (`0b37431`) ran 2026-10-02 1754–1805.
|
||||
- **Health:** `GET /health` (no auth) → `"status": "ok"` on 0.1.1. (0.1.0 always said `degraded`: its
|
||||
canary reports `alive` and the check expected `ok`; fixed in 0.1.1.) The Docker healthcheck checks HTTP 200.
|
||||
- **0.1.1 also accepts numeric `default_gid` / `gid` in the config**, which would make the mounted
|
||||
`/etc/group` unnecessary. The current name-based config stays valid, so it is left as is.
|
||||
|
||||
## Pieces and where they live
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# (1510 albok-read, 1511 albok-personal) and need GIT_OPTIONAL_LOCKS=0 + a safe.directory entry.
|
||||
services:
|
||||
albok-service:
|
||||
image: gitea.phasefinal.com/pfi/albok-service:0.1.0@sha256:9ae2c94e39917d690aef2361e47abceff863f25338fd0ea2848b651bcb145ab6
|
||||
image: gitea.phasefinal.com/pfi/albok-service:0.1.1@sha256:33e4e98a27412c386af60722a09e85ffe9370d63598d2aed39dd39676862d774
|
||||
container_name: albok-service
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user