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>
64 lines
1.8 KiB
YAML
64 lines
1.8 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Ghost"
|
|
description: "Professzionális blog és hírlevél platform"
|
|
category: "productivity"
|
|
subdomain: "blog"
|
|
slug: "ghost"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "150M"
|
|
mem_limit: "512M"
|
|
pi_compatible: false
|
|
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: "blog"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Professzionális blog és hírlevél platform"
|
|
docs_url: "https://ghost.org/docs/"
|
|
|
|
use_cases:
|
|
- 'Professzionális blog indítása és üzemeltetése'
|
|
- 'Hírlevél küldés beépített email funkcióval'
|
|
- 'SEO-optimalizált tartalom publikálás'
|
|
- 'Tagság és fizetős tartalom kezelés'
|
|
- 'Markdown és vizuális szerkesztő'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a blog.DOMAIN/ghost/ címet a böngészőben'
|
|
- 'Hozd létre az admin fiókot a beállítás varázslóban'
|
|
- 'Írd meg és publikáld az első posztodat'
|
|
- 'Személyre szabd a témát és beállításokat'
|
|
|
|
prerequisites:
|
|
- 'x86 processzor szükséges'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 2368
|
|
path: "/ghost/api/v4/admin/site/"
|
|
expect:
|
|
status: 200
|