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.2 KiB
YAML
73 lines
2.2 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Code-Server"
|
|
description: "VS Code a böngészőben - kódolás bárhonnan"
|
|
category: "dev"
|
|
subdomain: "code"
|
|
slug: "code-server"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "200M"
|
|
mem_limit: "1024M"
|
|
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: "code"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: PASSWORD
|
|
label: "Hozzáférési jelszó"
|
|
type: password
|
|
generate: "password:16"
|
|
description: "Bejelentkezési jelszó a szerkesztőhöz."
|
|
locked_after_deploy: false
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "VS Code a böngészőben - teljes fejlesztői környezet bárhonnan"
|
|
default_creds: "(telepítéskor generált jelszó)"
|
|
docs_url: "https://coder.com/docs/code-server/"
|
|
|
|
use_cases:
|
|
- 'Kódolás bárhonnan, bármilyen eszközről böngészőben'
|
|
- 'VS Code teljes funkcionalitás - bővítmények, terminál, debug'
|
|
- 'Távoli fejlesztés alacsony sávszélességű kapcsolaton is'
|
|
- 'Egységes fejlesztői környezet több eszközről'
|
|
- 'Tableten és iPaden is használható'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg a code.DOMAIN címet a böngészőben'
|
|
- 'Add meg a hozzáférési jelszót'
|
|
- 'Nyisd meg a terminált (Ctrl+`) és telepíts eszközöket'
|
|
- 'Telepíts bővítményeket az Extensions panelben'
|
|
|
|
prerequisites:
|
|
- 'x86 processzor szükséges a legjobb teljesítményhez'
|
|
- 'Legalább 1 GB szabad RAM ajánlott'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 8443
|
|
path: "/healthz"
|
|
expect:
|
|
status: 200
|