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.3 KiB
YAML
73 lines
2.3 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "OnlyOffice"
|
|
description: "Teljes értékű irodai csomag a böngészőben"
|
|
category: "productivity"
|
|
subdomain: "office"
|
|
slug: "onlyoffice"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "512M"
|
|
mem_limit: "2048M"
|
|
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: "office"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: JWT_SECRET
|
|
label: "JWT titkosítási kulcs"
|
|
type: secret
|
|
generate: "hex:32"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Teljes értékű irodai csomag - Word, Excel, PowerPoint a böngészőben"
|
|
docs_url: "https://helpcenter.onlyoffice.com/"
|
|
|
|
use_cases:
|
|
- 'Dokumentumok, táblázatok és prezentációk szerkesztése böngészőben'
|
|
- 'Valós idejű közös szerkesztés több felhasználóval'
|
|
- 'Microsoft Office formátumok teljes kompatibilitása (docx, xlsx, pptx)'
|
|
- 'Nextcloud és egyéb felhő tárhely integrációk'
|
|
- 'PDF konvertálás és kitöltés'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg az office.DOMAIN címet a böngészőben'
|
|
- 'Várj amíg az inicializálás befejeződik (1-2 perc)'
|
|
- 'A Document Server önmagában API-ként működik'
|
|
- 'Integráld Nextcloud-dal vagy más alkalmazással a JWT tokennel'
|
|
- 'Nextcloudban: telepítsd az OnlyOffice alkalmazást és add meg az URL-t'
|
|
|
|
prerequisites:
|
|
- 'Legalább 2 GB szabad RAM szükséges'
|
|
- 'x86 processzor szükséges (nem fut Raspberry Pi-n)'
|
|
- 'Nextcloud vagy más kompatibilis alkalmazás ajánlott az integrációhoz'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 80
|
|
path: "/healthcheck"
|
|
expect:
|
|
status: 200
|