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>
73 lines
2.0 KiB
YAML
73 lines
2.0 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Tandoor Recipes"
|
|
description: "Receptkezelő és étkezés tervező"
|
|
category: "home"
|
|
subdomain: "recipes"
|
|
slug: "tandoor"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "150M"
|
|
mem_limit: "512M"
|
|
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: "recipes"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: SECRET_KEY
|
|
label: "Titkosítási kulcs"
|
|
type: secret
|
|
generate: "hex:32"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: DB_PASSWORD
|
|
label: "Adatbázis jelszó"
|
|
type: secret
|
|
generate: "password:24"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Receptkezelő és étkezés tervező a családnak"
|
|
docs_url: "https://docs.tandoor.dev/"
|
|
|
|
use_cases:
|
|
- 'Receptek gyűjtése és rendszerezése egy helyen'
|
|
- 'Receptek importálása weboldalakról egy kattintással'
|
|
- 'Heti étkezés tervezés és bevásárlólista generálás'
|
|
- 'Több felhasználó - a család együtt tervezhet'
|
|
- 'Receptek megosztása linkkel családtagokkal, barátokkal'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a recipes.DOMAIN címet a böngészőben'
|
|
- 'Hozd létre az admin fiókot'
|
|
- 'Importáld az első receptet egy weboldalról (Bookmarklet)'
|
|
- 'Próbáld ki az étkezés tervezőt'
|
|
- 'Hívd meg a családtagokat'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 8080
|
|
path: "/accounts/login/"
|