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>
72 lines
2.2 KiB
YAML
72 lines
2.2 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Grafana"
|
|
description: "Professzionális monitoring és vizualizációs platform"
|
|
category: "dashboard"
|
|
subdomain: "grafana"
|
|
slug: "grafana"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
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: "grafana"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: GF_SECURITY_ADMIN_PASSWORD
|
|
label: "Admin jelszó"
|
|
type: password
|
|
generate: "password:16"
|
|
description: "Első bejelentkezéshez. Utána a webes felületen módosítható."
|
|
locked_after_deploy: false
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Vizualizációs platform - dashboardok, grafikonok, alertek"
|
|
default_creds: "admin / (telepítéskor megadott jelszó)"
|
|
docs_url: "https://grafana.com/docs/grafana/latest/"
|
|
|
|
use_cases:
|
|
- 'Rendszer metrikák vizualizálása (CPU, RAM, hálózat, lemez)'
|
|
- 'Egyedi dashboardok létrehozása különböző adatforrásokból'
|
|
- 'Alertek és értesítések küszöbértékek alapján'
|
|
- 'Prometheus, InfluxDB és sok más adatforrás támogatás'
|
|
- 'Szép, megosztható dashboardok'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a grafana.DOMAIN címet a böngészőben'
|
|
- 'Jelentkezz be az admin fiókkal'
|
|
- 'Add hozzá az adatforrásokat (Connections > Data Sources)'
|
|
- 'Importálj egy dashboard sablont vagy hozz létre sajátot'
|
|
|
|
prerequisites:
|
|
- 'Adatforrás szükséges (pl. Prometheus - külön telepítendő)'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 3000
|
|
path: "/api/health"
|
|
expect:
|
|
status: 200
|