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>
74 lines
2.2 KiB
YAML
74 lines
2.2 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Komga"
|
|
description: "Képregény és manga szerver OPDS támogatással"
|
|
category: "media"
|
|
subdomain: "comics"
|
|
slug: "komga"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "200M"
|
|
mem_limit: "512M"
|
|
pi_compatible: true
|
|
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: "comics"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: HDD_PATH
|
|
label: "Képregénytár útvonal"
|
|
type: path
|
|
required: true
|
|
placeholder: "/mnt/hdd_1"
|
|
description: "A külső merevlemez elérési útja"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Képregény, manga és könyv szerver webes olvasóval"
|
|
docs_url: "https://komga.org/docs/"
|
|
|
|
use_cases:
|
|
- 'Képregények és mangák rendszerezése és olvasása böngészőben'
|
|
- 'Automatikus metaadat szkennelés és borítókép generálás'
|
|
- 'OPDS feed kompatibilis olvasó alkalmazásokhoz'
|
|
- 'Olvasási haladás szinkronizálás eszközök között'
|
|
- 'Több felhasználó külön könyvtárral'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a comics.DOMAIN címet a böngészőben'
|
|
- 'Hozd létre az admin fiókot az első megnyitáskor'
|
|
- 'Add hozzá a könyvtárat (/data)'
|
|
- 'Várd meg az automatikus szkennelést'
|
|
- 'Használj OPDS-kompatibilis alkalmazást mobilon (pl. Tachiyomi)'
|
|
|
|
prerequisites:
|
|
- 'Külső HDD szükséges a képregények tárolásához'
|
|
- 'Támogatott formátumok: CBZ, CBR, PDF, EPUB'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 25600
|
|
path: "/api/v1/actuator/health"
|
|
expect:
|
|
status: 200
|