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:
|
||||
- '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
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ RUN apt-get update \
|
|||
chromium \
|
||||
ffmpeg \
|
||||
fonts-noto-cjk \
|
||||
fonts-vt323 \
|
||||
ca-certificates \
|
||||
tini \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue