53a4a1ddf7
gates / gates (push) Successful in 1s
A new front-door fixture: a book uploaded through the app's own Upload form and read back through its OPDS feed (listed, and the served EPUB carries the marker), with a wrong-password and an absent-title control. Bench 9401 (harness v4, swap 0): proven, 10-min watch 0 kills (anon peak 19.3 %); the harness saw the household books folder's tree hash change, so the step carries files_may_change (a night press needs a fresh whole copy). Box 9202: done in 64.6 s, the book read back, and not one file in the books folder changed (per-file hashes before/after). Written by upgrade-test.py --write-ladder. Evidence: felhom.eu/documentation/audits/more-night-apps-2026-09-30/ Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
61 lines
2.1 KiB
YAML
61 lines
2.1 KiB
YAML
# Calibre-Web Automated - Automatizált e-könyv könyvtár
|
|
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~200M (mem_limit: 768M) | Pi-compatible: No
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
# USERDATA_PATH - Ügyfél-tartalom gyökér (<namespace>/userdata)
|
|
# IMPORT_PATH - KANONIKUS beolvasási gyökér a rendszerlemezen (R-75) — NEM az app lemezén
|
|
#
|
|
# Storage layout (felhom userdata convention):
|
|
# App config/DB → calibre_web_config (named volume, NVMe)
|
|
# Calibre library → ${USERDATA_PATH}/media/books (browsable, írható)
|
|
# Book ingest → ${IMPORT_PATH}/calibre (drop-zone — processed and removed)
|
|
# ^ CANONICAL: one import root for the whole box, on the SYSTEM drive — NOT per data drive.
|
|
# Run-identity: PUID/PGID 1000 (shared content group); UMASK=002 so output is group-writable.
|
|
#
|
|
# First-time setup:
|
|
# Default login: admin / admin123 — change immediately!
|
|
|
|
services:
|
|
calibre-web:
|
|
image: crocodilestick/calibre-web-automated:v4.0.8
|
|
container_name: calibre-web
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- UMASK=002
|
|
volumes:
|
|
- calibre_web_config:/config
|
|
- ${IMPORT_PATH}/calibre:/cwa-book-ingest
|
|
- ${USERDATA_PATH}/media/books:/calibre-library
|
|
networks:
|
|
- traefik-public
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 768M
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:8083"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.calibre-web.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
|
- "traefik.http.routers.calibre-web.entrypoints=websecure"
|
|
- "traefik.http.routers.calibre-web.tls=true"
|
|
- "traefik.http.routers.calibre-web.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.calibre-web.loadbalancer.server.port=8083"
|
|
|
|
volumes:
|
|
calibre_web_config:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|