fix(streamer): drop fonts-vt323 (not in bookworm) and use node fetch for healthcheck

- fonts-vt323 doesn't exist in debian bookworm; vt323 is loaded via google fonts cdn anyway.
- node:22-bookworm-slim has no wget; switch healthcheck to node -e fetch.
This commit is contained in:
devilreef 2026-04-30 15:41:17 +06:00
parent ed76fbd379
commit 3b4ce1ce39
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y
2 changed files with 1 additions and 2 deletions

View file

@ -90,7 +90,7 @@ services:
ports:
- '172.17.0.1:12010:12010'
healthcheck:
test: ['CMD', 'wget', '-q', '-O', '-', 'http://127.0.0.1:12010/health']
test: ['CMD', 'node', '-e', "fetch('http://127.0.0.1:12010/health').then(r=>r.json()).then(j=>{if(!j.ok)process.exit(1)}).catch(()=>process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3

View file

@ -16,7 +16,6 @@ RUN apt-get update \
chromium \
ffmpeg \
fonts-noto-cjk \
fonts-vt323 \
ca-certificates \
tini \
&& rm -rf /var/lib/apt/lists/*