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>
66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
# =============================================================================
|
|
# .felhom.yml — App metadata for felhom-controller
|
|
# =============================================================================
|
|
# Place alongside docker-compose.yml in each stack directory:
|
|
# /opt/docker/stacks/homebox/.felhom.yml
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Homebox"
|
|
description: "Otthoni leltár és eszköznyilvántartás"
|
|
category: "tools"
|
|
subdomain: "inventory"
|
|
|
|
# --- Asset slug ---
|
|
slug: "homebox"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "50M"
|
|
mem_limit: "256M"
|
|
pi_compatible: true
|
|
needs_hdd: false
|
|
|
|
# --- Deploy fields ---
|
|
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: "inventory"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: 'Otthoni leltár kezelő - tartsd számon a tárgyaidat'
|
|
docs_url: 'https://homebox.software/en/'
|
|
|
|
use_cases:
|
|
- 'Otthoni tárgyak leltározása és nyilvántartása'
|
|
- 'Helyszínek, címkék és kategóriák szerinti rendszerezés'
|
|
- 'Garancia lejáratok és beszerzési árak nyilvántartása'
|
|
- 'Vonalkód szkennelés a gyors hozzáadáshoz'
|
|
- 'Biztosítási célú leltár készítés'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg az inventory.DOMAIN címet a böngészőben'
|
|
- 'Hozd létre a fiókodat az első megnyitáskor'
|
|
- 'Add hozzá a helyszíneket (pl. nappali, konyha, garázs)'
|
|
- 'Kezdd el felvenni a tárgyakat fotókkal'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 7745
|
|
path: "/api/v1/status"
|
|
expect:
|
|
status: 200
|