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>
59 lines
1.7 KiB
YAML
59 lines
1.7 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Homepage"
|
|
description: "Személyre szabható kezdőlap szolgáltatás widgetekkel"
|
|
category: "dashboard"
|
|
subdomain: "home"
|
|
slug: "homepage"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "50M"
|
|
mem_limit: "256M"
|
|
pi_compatible: true
|
|
needs_hdd: false
|
|
|
|
# --- 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: "home"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Személyes kezdőlap - szolgáltatás státuszok és widgetek egy helyen"
|
|
docs_url: "https://gethomepage.dev/"
|
|
|
|
use_cases:
|
|
- 'Összes szolgáltatás egy áttekinthető oldalon'
|
|
- 'Szolgáltatás állapot monitoring widgetek'
|
|
- 'Docker integráció - automatikus szolgáltatás felfedezés'
|
|
- 'Könyvjelzők és kedvenc oldalak'
|
|
- 'Időjárás, rendszer erőforrás és egyéb widgetek'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a home.DOMAIN címet a böngészőben'
|
|
- 'Szerkeszd a konfigurációs fájlokat a homepage_config kötetben'
|
|
- 'Add hozzá a szolgáltatásokat a services.yaml-ban'
|
|
- 'Állítsd be a widgeteket a widgets.yaml-ban'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 3000
|