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: "Zipline"
|
|
description: "ShareX/Flameshot szerver - screenshot és fájlmegosztás"
|
|
category: "files"
|
|
subdomain: "img"
|
|
slug: "zipline"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "100M"
|
|
mem_limit: "512M"
|
|
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: "img"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: CORE_SECRET
|
|
label: "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: "Screenshot és fájlmegosztó szerver ShareX/Flameshot integrációval"
|
|
default_creds: "admin / zipline"
|
|
docs_url: "https://zipline.diced.sh/docs/"
|
|
|
|
use_cases:
|
|
- 'Screenshotok automatikus feltöltése ShareX/Flameshot-ból'
|
|
- 'URL rövidítés és szöveg megosztás (paste)'
|
|
- 'Galéria nézet és album kezelés'
|
|
- 'API támogatás egyedi integrációkhoz'
|
|
- 'Felhasználói fiókok és meghívó rendszer'
|
|
|
|
first_steps:
|
|
- 'Nyisd meg az img.DOMAIN címet a böngészőben'
|
|
- 'Jelentkezz be: admin / zipline'
|
|
- 'Változtasd meg azonnal a jelszót'
|
|
- 'Konfiguráld a ShareX-et vagy Flameshot-ot az API URL-lel'
|
|
- 'Tölts fel egy screenshot-ot a teszteléshez'
|
|
|
|
prerequisites:
|
|
- 'ShareX (Windows) vagy Flameshot (Linux) ajánlott a screenshot feltöltéshez'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 3000
|
|
path: "/api/health"
|
|
expect:
|
|
status: 200
|