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:
parent
ed76fbd379
commit
3b4ce1ce39
2 changed files with 1 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- '172.17.0.1:12010:12010'
|
- '172.17.0.1:12010:12010'
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ RUN apt-get update \
|
||||||
chromium \
|
chromium \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
fonts-noto-cjk \
|
fonts-noto-cjk \
|
||||||
fonts-vt323 \
|
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tini \
|
tini \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue