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>
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "OpenGist"
|
|
description: "Kód snippetek megosztása (GitHub Gist alternatíva)"
|
|
category: "dev"
|
|
subdomain: "gist"
|
|
slug: "opengist"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "30M"
|
|
mem_limit: "128M"
|
|
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: "gist"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Kód snippetek megosztása - privát GitHub Gist alternatíva"
|
|
docs_url: "https://github.com/thomiceli/opengist"
|
|
|
|
use_cases:
|
|
- 'Kód snippetek és szövegek megosztása'
|
|
- 'Szintaxis kiemelés sok programozási nyelvhez'
|
|
- 'Privát és nyilvános gistek'
|
|
- 'Git-alapú tárolás - verziókezelés automatikusan'
|
|
- 'Markdown támogatás és beágyazás'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a gist.DOMAIN címet a böngészőben'
|
|
- 'Hozd létre a fiókodat (az első felhasználó admin lesz)'
|
|
- 'Hozd létre az első gistet - írd be a kódot és mentsd'
|
|
- 'Oszd meg a linket'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 6157
|
|
path: "/healthcheck"
|
|
expect:
|
|
status: 200
|