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>
79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
# =============================================================================
|
|
# .felhom.yml — App metadata for felhom-controller
|
|
# =============================================================================
|
|
# Place alongside docker-compose.yml in each stack directory:
|
|
# /opt/docker/stacks/docmost/.felhom.yml
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Docmost"
|
|
description: "Modern wiki és dokumentáció platform (Notion-szerű)"
|
|
category: "productivity"
|
|
subdomain: "docs"
|
|
|
|
# --- Asset slug ---
|
|
slug: "docmost"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "200M"
|
|
mem_limit: "768M"
|
|
pi_compatible: false
|
|
needs_hdd: false
|
|
|
|
# --- Deploy fields ---
|
|
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: "docs"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: APP_SECRET
|
|
label: "Alkalmazás titkosítási kulcs"
|
|
type: secret
|
|
generate: "hex:32"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: DB_PASSWORD
|
|
label: "Adatbázis jelszó"
|
|
type: secret
|
|
generate: "password:24"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: 'Modern wiki és dokumentáció platform Notion-szerű szerkesztővel'
|
|
docs_url: 'https://docmost.com/docs/'
|
|
|
|
use_cases:
|
|
- 'Csapat tudásbázis és belső dokumentáció'
|
|
- 'Notion-szerű blokk szerkesztő valós idejű együttműködéssel'
|
|
- 'Terek és oldalak hierarchikus szervezése'
|
|
- 'Képek, táblázatok és kód blokkok beágyazása'
|
|
- 'Keresés a teljes dokumentációban'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a docs.DOMAIN címet a böngészőben'
|
|
- 'Az első regisztrált felhasználó automatikusan admin lesz'
|
|
- 'Hozd létre az első teret (Space) a dokumentumoknak'
|
|
- 'Kezdj el írni a Notion-szerű szerkesztőben'
|
|
|
|
prerequisites:
|
|
- 'x86 processzor szükséges'
|
|
- 'Legalább 768 MB szabad RAM (Docmost + PostgreSQL + Redis)'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 3000
|