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>
67 lines
1.8 KiB
YAML
67 lines
1.8 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "wger"
|
|
description: "Edzésnapló és fitnesz tervező"
|
|
category: "home"
|
|
subdomain: "fitness"
|
|
slug: "wger"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
mem_limit: "384M"
|
|
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: "fitness"
|
|
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
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Edzésnapló - edzéstervek, haladás követés és testsúly napló"
|
|
default_creds: "admin / adminadmin"
|
|
docs_url: "https://wger.readthedocs.io/"
|
|
|
|
use_cases:
|
|
- 'Edzéstervek létrehozása és követése'
|
|
- 'Testsúly és testméretek nyilvántartása grafikonokkal'
|
|
- 'Gyakorlatok adatbázisa képekkel és leírásokkal'
|
|
- 'Kalória és tápanyag követés'
|
|
- 'API támogatás fitnesz alkalmazás integrációkhoz'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a fitness.DOMAIN címet a böngészőben'
|
|
- 'Jelentkezz be: admin / adminadmin'
|
|
- 'Változtasd meg azonnal a jelszót'
|
|
- 'Hozd létre az edzéstervedet'
|
|
- 'Kezdd el naplózni az edzéseidet'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 80
|