21e8df1e3a
Adds the referential-coupling backup: block to every app that binds
${HDD_PATH}/${USERDATA_PATH} (immich, paperless-ngx, nextcloud, calibre-web,
audiobookshelf, komga, navidrome, radarr, sonarr, emby, jellyfin, plex, romm).
Each lists its userdata:/hdd: binds with class mandatory|optional|excluded
(operator-ruled + spike SQ2).
Requires controller v0.132.0 (deployed) which parses+validates these blocks.
INERT — no backup tier changes behavior yet (Task 3/4 consume it). All 13
verified against the shipped parser: parse-clean, every bind resolves explicit.
audiobookshelf media/audiobooks = optional (PENDING Viktor veto to excluded).
Ref: felhom.eu/documentation/audits/SPIKE-backup-classification-2026-07-14.md
89 lines
2.7 KiB
YAML
89 lines
2.7 KiB
YAML
# =============================================================================
|
|
# .felhom.yml - App metadata for felhom-controller
|
|
# =============================================================================
|
|
|
|
# --- Display info (shown on dashboard) ---
|
|
display_name: "Plex"
|
|
description: "Népszerű média szerver csiszolt felülettel"
|
|
category: "media"
|
|
subdomain: "plex"
|
|
slug: "plex"
|
|
|
|
# --- Resource hints (displayed on deploy screen) ---
|
|
resources:
|
|
mem_request: "512M"
|
|
mem_limit: "2048M"
|
|
pi_compatible: false
|
|
needs_hdd: true
|
|
|
|
# --- Backup classification (referential coupling; see felhom.eu documentation/audits/SPIKE-backup-classification-2026-07-14.md) ---
|
|
backup:
|
|
userdata:
|
|
- path: media
|
|
class: excluded # pure reader of the shared tree (:ro); state lives in volumes
|
|
|
|
# --- 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: "plex"
|
|
required: true
|
|
locked_after_deploy: true
|
|
description: "Az alkalmazás aldomainje"
|
|
|
|
- env_var: PLEX_CLAIM
|
|
label: "Plex Claim Token"
|
|
type: text
|
|
required: true
|
|
placeholder: "claim-xxxxxxxxxxxx"
|
|
description: "Generáld a https://plex.tv/claim oldalon (4 percig érvényes)"
|
|
locked_after_deploy: true
|
|
|
|
- env_var: HDD_PATH
|
|
label: "Médiatár útvonal"
|
|
type: path
|
|
required: true
|
|
placeholder: "/mnt/felhom-drives/hdd_1"
|
|
description: "A külső merevlemez elérési útja"
|
|
locked_after_deploy: true
|
|
|
|
# --- App info (info page content) ---
|
|
app_info:
|
|
tagline: "Prémium média szerver kiváló alkalmazás támogatással"
|
|
docs_url: "https://support.plex.tv/"
|
|
|
|
use_cases:
|
|
- 'Filmek, sorozatok és zene streamelése professzionális felületen'
|
|
- 'Automatikus transzkódolás bármilyen eszközhöz'
|
|
- 'Watch Together - közös filmnézés távolról'
|
|
- 'Intro/outro skip funkció (Plex Pass)'
|
|
- 'Gazdag mobilalkalmazás és Smart TV támogatás'
|
|
|
|
first_steps:
|
|
- 'Generálj egy claim tokent a https://plex.tv/claim oldalon'
|
|
- 'Telepítés után nyisd meg a plex.DOMAIN címet'
|
|
- 'Kapcsold össze a Plex fiókoddat a szerverrel'
|
|
- 'Add hozzá a médiatárat (filmek: /media/movies, sorozatok: /media/shows)'
|
|
- 'Telepítsd a Plex alkalmazást eszközeidre'
|
|
|
|
prerequisites:
|
|
- 'Plex fiók szükséges (ingyenes regisztráció a plex.tv-n)'
|
|
- 'Külső HDD a médiafájlok tárolásához'
|
|
- 'Legalább 2 GB szabad RAM (transzkódoláshoz több ajánlott)'
|
|
|
|
# --- Controller-side health probe ---
|
|
healthcheck:
|
|
checks:
|
|
- type: api
|
|
port: 32400
|
|
path: "/identity"
|
|
expect:
|
|
status: 200
|