The stall watchdog now runs inside the scraper (ScraperService.checkStalls, every 30 s from the work loop): same rule as before, one checkpoint-safe restart, quarantine on the second stall, missing checkpoint is no evidence, and paused time no longer counts. Stalls are recorded as scraper incidents (failure.kind 'stall'). The private /api/recovery endpoint is gone. Dropped with the service: reader/scraper-unreachable incidents (supervisor and Docker handle crashes; the health page shows "Scraper: unreachable"), duplicate job-failure incidents and the unused /metrics endpoint. The stack is now reader + scraper (+ optional peer-gateway). The supervisor test moved to runtime/test (npm run test:runtime stays). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
1.1 KiB
Bash
24 lines
1.1 KiB
Bash
APP_IMAGE=mangacircus:local
|
|
# Optional reader-only release. Leave empty to use APP_IMAGE.
|
|
# READER_IMAGE=mangacircus:local
|
|
VCS_REF=development
|
|
READER_BIND=127.0.0.1
|
|
READER_PORT=8080
|
|
LIBRARY_PATH=./library
|
|
DATA_PATH=./data
|
|
SCRAPER_DATA_PATH=./data/scraper
|
|
SCRAPER_TOKEN_PATH=./.secrets/scraper_token
|
|
# Built-in backups of DATA_PATH (docs/backup.md): an existing folder, ideally on another
|
|
# disk/NAS, writable by uid 1000. Unset = backups off (./backup is then mounted unused).
|
|
# BACKUP_PATH=./backup
|
|
TZ=Europe/Berlin
|
|
COOKIE_SECURE=0
|
|
# Optional server-enforced reading windows. Day keys: 0=Sunday through 6=Saturday.
|
|
# Ranges may cross midnight. Multiple ranges per day are supported.
|
|
# READING_WINDOWS_JSON='{"0":[["08:00","01:00"]],"1":[["07:00","24:00"]],"2":[["07:00","24:00"]],"3":[["07:00","24:00"]],"4":[["07:00","24:00"]],"5":[["07:00","24:00"]],"6":[["08:00","01:00"]]}'
|
|
READING_TIMEZONE=Europe/Berlin
|
|
READING_QUIZ_UNLOCK_MINUTES=60
|
|
# Optional deployment-managed JSON file under DATA_PATH, e.g. /data/reading-quiz.json.
|
|
# READING_QUIZ_CATALOG_PATH=/data/reading-quiz.json
|
|
PROXY_NETWORK=mangacircus-edge
|