a04882e296
Each app template now declares a healthcheck: section in .felhom.yml with appropriate probe type (http, api, or tcp) and endpoint based on the app's known health endpoints. The controller uses these to verify services are actually responding, not just that containers are running. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
72 lines
2.3 KiB
YAML
72 lines
2.3 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
|
|
|
|
# --- 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/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 az ingest mappába - automatikusan feldolgozza'
|
|
|
|
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
|