21e8df1e3a
Adds the referential-coupling backup: block to every app that binds
${HDD_PATH}/${USERDATA_PATH} (immich, paperless-ngx, nextcloud, calibre-web,
audiobookshelf, komga, navidrome, radarr, sonarr, emby, jellyfin, plex, romm).
Each lists its userdata:/hdd: binds with class mandatory|optional|excluded
(operator-ruled + spike SQ2).
Requires controller v0.132.0 (deployed) which parses+validates these blocks.
INERT — no backup tier changes behavior yet (Task 3/4 consume it). All 13
verified against the shipped parser: parse-clean, every bind resolves explicit.
audiobookshelf media/audiobooks = optional (PENDING Viktor veto to excluded).
Ref: felhom.eu/documentation/audits/SPIKE-backup-classification-2026-07-14.md
80 lines
2.7 KiB
YAML
80 lines
2.7 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Calibre-Web Automated"
|
|
description: "Automatizált e-könyv könyvtár - konvertálás, metaadat kezelés és webes olvasó"
|
|
category: "media"
|
|
subdomain: "books"
|
|
slug: "calibre-web"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "200M"
|
|
mem_limit: "768M"
|
|
pi_compatible: false
|
|
needs_hdd: true
|
|
|
|
# --- Backup classification (referential coupling; see felhom.eu documentation/audits/SPIKE-backup-classification-2026-07-14.md) ---
|
|
backup:
|
|
userdata:
|
|
- path: media/books
|
|
class: mandatory # metadata.db lives INSIDE the tree — DB and books are one unit
|
|
- path: import/calibre
|
|
class: excluded # ingest inbox, transient
|
|
|
|
# --- Deploy fields (first deployment only) ---
|
|
deploy_fields:
|
|
- env_var: DOMAIN
|
|
label: "Domain"
|
|
type: domain
|
|
description: "A szerver domain neve"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: SUBDOMAIN
|
|
label: "Aldomain"
|
|
type: subdomain
|
|
default: "books"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: HDD_PATH
|
|
label: "E-könyvtár útvonal"
|
|
type: path
|
|
required: true
|
|
placeholder: "/mnt/felhom-drives/hdd_1"
|
|
description: "A külső merevlemez elérési útja, ahol a Calibre könyvtár található"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: 'Automatizált e-könyv könyvtár - könyvfeldolgozás, formátumkonverzió és OPDS feed'
|
|
default_creds: "admin / admin123"
|
|
docs_url: "https://github.com/crocodilestick/Calibre-Web-Automated/wiki"
|
|
|
|
use_cases:
|
|
- 'Automatizált e-könyv feldolgozás - csak dobd be az ingest mappába'
|
|
- 'Automatikus formátumkonverzió (EPUB, MOBI, PDF, AZW3)'
|
|
- 'OPDS feed e-olvasókhoz (Kindle, KOReader, Moon+ Reader)'
|
|
- 'Webes olvasó böngészőben'
|
|
- 'KOReader szinkronizáció (olvasási pozíció, könyvjelzők)'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a books.DOMAIN címet a böngészőben'
|
|
- 'Jelentkezz be: admin / admin123'
|
|
- 'Változtasd meg azonnal a jelszót'
|
|
- 'Dobj egy könyvet a Fájlkezelőben (FileBrowser) az import/calibre mappába — automatikusan feldolgozza és a media/books könyvtárba helyezi'
|
|
|
|
prerequisites:
|
|
- 'Külső HDD szükséges az e-könyvek tárolásához'
|
|
- 'x86 processzor szükséges (a CWA tartalmazza a Calibre binárist)'
|
|
- 'Legalább 768 MB szabad RAM ajánlott'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 8083
|