The reader owns a scheduled backup into BACKUP (Compose: BACKUP_PATH mounted at /backup, off when unset). A run pauses the scraper queue through its control API, waits (bounded) until no job is active, writes a verified tar.gz of DATA with db.json from memory and scraper/queue.json stored paused, excludes runtime/lock/pid/temp files, resumes only a queue it paused, then applies count- or day-based retention to its own archive names only. Schedule, retention, "Back up now" and last result live in Settings > Service health. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.1 KiB
Bash
25 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
|
|
SENTINEL_DATA_PATH=./data/sentinel
|
|
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
|