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>
78 lines
2.2 KiB
YAML
78 lines
2.2 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Kimai"
|
|
description: "Időkövetés és projektmenedzsment"
|
|
category: "productivity"
|
|
subdomain: "time"
|
|
slug: "kimai"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
mem_limit: "384M"
|
|
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: "time"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: DB_PASSWORD
|
|
label: "Adatbázis jelszó"
|
|
type: secret
|
|
generate: "password:24"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: ADMIN_EMAIL
|
|
label: "Admin email"
|
|
type: text
|
|
default: "admin@example.com"
|
|
|
|
- env_var: 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: "Időkövetés - projektek, ügyfelek és munkaidő nyilvántartás"
|
|
default_creds: "(telepítéskor megadott admin email és jelszó)"
|
|
docs_url: "https://www.kimai.org/documentation/"
|
|
|
|
use_cases:
|
|
- 'Munkaidő nyilvántartás projektekre és ügyfelekre bontva'
|
|
- 'Stopper-szerű időmérés egy kattintással'
|
|
- 'Riportok és exportálás (PDF, CSV, Excel)'
|
|
- 'Költségek és számlázás nyilvántartás'
|
|
- 'Több felhasználó csapat szintű jogosultságokkal'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a time.DOMAIN címet a böngészőben'
|
|
- 'Jelentkezz be a telepítéskor megadott admin adatokkal'
|
|
- 'Hozd létre az első ügyfelet és projektet'
|
|
- 'Indítsd el az időmérést'
|
|
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: http
|
|
port: 8001
|