From c760fca938987f643d42963aebca6e27ed2bbea3 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Tue, 3 Nov 2026 00:34:18 +0100 Subject: [PATCH] Security batch 2026-11-02 (felhom.eu R-1336 + the new notices): security-fix steps gitea 28.3.0, uptime-kuma 2.5.9, grafana 13.2.5, actualbudget 26.11.0, n8n 2.46.4, vaultwarden 1.37.5-alpine (9202 proven, negative control first); fixtures: n8n start race, the box-admin guard knows the drill mirror, Vaultwarden's register route, Actual's log --- CHANGELOG.md | 16 ++ REPORT.md | 17 +- scripts/test_upgrade_bench.py | 9 + scripts/upgrade_fixtures_box.py | 48 +++- templates/actualbudget/.felhom.yml | 3 +- templates/actualbudget/docker-compose.yml | 2 +- .../steps/02c45bb806b4208f.felhom.yml | 190 ++++++++++++++ .../actualbudget/steps/02c45bb806b4208f.yml | 46 ++++ templates/gitea/.felhom.yml | 3 +- templates/gitea/docker-compose.yml | 2 +- .../gitea/steps/b010d61b888c3326.felhom.yml | 212 ++++++++++++++++ templates/gitea/steps/b010d61b888c3326.yml | 65 +++++ templates/grafana/.felhom.yml | 3 +- templates/grafana/docker-compose.yml | 2 +- .../grafana/steps/d1f7909b4bcffc56.felhom.yml | 184 ++++++++++++++ templates/grafana/steps/d1f7909b4bcffc56.yml | 47 ++++ templates/n8n/.felhom.yml | 3 +- templates/n8n/docker-compose.yml | 2 +- .../n8n/steps/fe1b0188d0147127.felhom.yml | 187 ++++++++++++++ templates/n8n/steps/fe1b0188d0147127.yml | 50 ++++ templates/uptime-kuma/.felhom.yml | 3 +- templates/uptime-kuma/docker-compose.yml | 2 +- .../steps/255cf237ddd88b55.felhom.yml | 178 +++++++++++++ .../uptime-kuma/steps/255cf237ddd88b55.yml | 57 +++++ templates/vaultwarden/.felhom.yml | 3 +- templates/vaultwarden/docker-compose.yml | 2 +- .../steps/96175b7591653982.felhom.yml | 233 ++++++++++++++++++ .../vaultwarden/steps/96175b7591653982.yml | 77 ++++++ 28 files changed, 1615 insertions(+), 31 deletions(-) create mode 100644 templates/actualbudget/steps/02c45bb806b4208f.felhom.yml create mode 100644 templates/actualbudget/steps/02c45bb806b4208f.yml create mode 100644 templates/gitea/steps/b010d61b888c3326.felhom.yml create mode 100644 templates/gitea/steps/b010d61b888c3326.yml create mode 100644 templates/grafana/steps/d1f7909b4bcffc56.felhom.yml create mode 100644 templates/grafana/steps/d1f7909b4bcffc56.yml create mode 100644 templates/n8n/steps/fe1b0188d0147127.felhom.yml create mode 100644 templates/n8n/steps/fe1b0188d0147127.yml create mode 100644 templates/uptime-kuma/steps/255cf237ddd88b55.felhom.yml create mode 100644 templates/uptime-kuma/steps/255cf237ddd88b55.yml create mode 100644 templates/vaultwarden/steps/96175b7591653982.felhom.yml create mode 100644 templates/vaultwarden/steps/96175b7591653982.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index dee3539..1ebcd1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +## 2026-11-02 night — security batch: six `security_fix` steps (decision 255), each proven on 9202 through the guarded Update + +Negative control first (TO `busybox:1.36.1` → `failed`, undone, felhom.eu `audits/security-2026-11-02/walks/_negative-control/`). The triage: +`audits/security-2026-11-02/TRIAGE.md`. +- **gitea 28.2.0 → 28.3.0** (21 GHSAs; `GHSA-8p3x` OAuth2 account takeover, `GHSA-jh8p`, `GHSA-37xv`, `GHSA-8g99` …; soak 19.1 %). +- **uptime-kuma 2.5.7 → 2.5.9** (`GHSA-86ch` unauth RSS cache poisoning, `GHSA-v2p3` admin-only code execution; soak 26.1 %). It crosses 2.5.8, which + drops TLS on the TCP-port monitor: such a monitor becomes a plain TCP one (upstream: „never worked as expected"). Decided by CC, operator may reverse. +- **grafana 13.2.4 → 13.2.5** (four CVEs; soak 31.4 %). +- **actualbudget 26.9.0 → 26.11.0** (HTTP2Shell: Node 24.20.0 → 24.22.1 read from the image, felhom.eu R-1336; soak 16.8 %). +- **n8n 2.44.7 → 2.46.4** (nine of the twelve GHSAs; the three fixed only in 3.0.1 are a big step, its own row; soak 25.1 %). +- **vaultwarden 1.37.4-alpine → 1.37.5-alpine** (`GHSA-x9cq`, `GHSA-9pjj`; soak 11.0 %). + +Harness (`scripts/upgrade_fixtures_box.py`), each found by an inconclusive walk: n8n's `/healthz` answers before its REST routes exist, so a 404 waits and +tries again; the box-admin guard knows the drill MIRROR (`DRILL_CATALOG_MIRROR_MARK`, R-992; test `test_the_drill_mirror_counts_as_the_drill`, seen failing); +Vaultwarden 1.37 registers through `send-verification-email` + `register/finish`; Actual's fixture no longer logs the session token in its reply. + ## 2026-10-29 (attended) — Plex gets its test record (felhom.eu R-1238); the memory watch reads the live anon figure (R-1338) Prepared in the 2026-10-28 night run (no catalog push at night), applied on `0baf8f9` unchanged, pushed on the operator's diff --git a/REPORT.md b/REPORT.md index 8e3ef06..82a4892 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,13 +1,10 @@ -# REPORT — 2026-10-29 (attended): Plex's test record (felhom.eu R-1238); the memory watch's live figure (R-1338) +# REPORT — 2026-11-02 night: six security-fix steps, proven on 9202, live -**What changed.** Two commits prepared in the 2026-10-28 night run (the night allowed no catalog push), applied unchanged -on `0baf8f9`, plus this CHANGELOG/REPORT commit. Plex gets its `update_ladder` entry (1.41.4.9463 → 1.43.5.11029, the pin -that moved on 2026-10-23), the Plex bench and box fixtures, and the memory watch judges the live anon figure -(`scripts/memfigure.py`); Wanderer's entry re-measured at 27.7 %. Pushed on the operator's yes. +**What changed.** gitea 28.3.0, uptime-kuma 2.5.9, grafana 13.2.5, actualbudget 26.11.0, n8n 2.46.4 and vaultwarden 1.37.5-alpine, each a `security_fix` step (`09` §3 +decision 255): negative control first, a walk on scratch 9202 through the guarded Update, the writer, the gates. Four harness fixes, each found by an inconclusive walk. -**Proof.** Plex: bench `proven` and scratch 9202 `proven` (seed read back with the same uuid; soak 10.6 %, no kill). -Evidence: felhom.eu `documentation/audits/night-2026-10-28/r1238-plex/` and `.../catalog-morning/README.md`. +**Proof.** felhom.eu `documentation/audits/security-2026-11-02/walks//` (walk log + box verdict); triage `../TRIAGE.md`. Every walk: `done`, no undo, no hold, TO on the +four observables, seed read back, a 600-s soak with no kill and no restart. Negative control: TO busybox → undone → `failed`. -**Gates.** `catalog_gates.py --fast plex wanderer`: all OK. - -Findings go to felhom.eu `OPEN-ITEMS.md` (R-391). +**Limits.** No bench test for these (decision 255 allows it; `check-test-record` warns until one exists). n8n keeps three notices fixed only in 3.0.1; Uptime Kuma's TCP monitor +with TLS becomes plain TCP (2.5.8's change). Rows: felhom.eu register. diff --git a/scripts/test_upgrade_bench.py b/scripts/test_upgrade_bench.py index 3921ed3..663485e 100644 --- a/scripts/test_upgrade_bench.py +++ b/scripts/test_upgrade_bench.py @@ -312,6 +312,15 @@ class BoxAdminSeedGuard(unittest.TestCase): self.assertFalse(ok, want) self.assertIn(want, why) + def test_the_drill_mirror_counts_as_the_drill(self): + # Every walk since R-992 reads the drill through a local mirror; the guard knew only the repo's name, so vaultwarden's + # walk on 9202 stopped at „the box is not on the drill catalog" (2026-11-02, seen live, the red of this test). + w = FakeBoxWalk() + w.guest = lambda script: "git:\n branch: main\n repo_url: file:///opt/docker/felhom-controller/drill-catalog.git\n" + self.assertEqual(self.allowed(w, self.ENV), (True, "")) + w.guest = lambda script: "git:\n branch: main\n repo_url: https://gitea.dooplex.hu/admin/app-catalog-felhom.eu.git\n" + self.assertIn("drill catalog", self.allowed(w, self.ENV)[1]) + def seed(self, w, env): with mock.patch.dict(os.environ, env, clear=False): if "FELHOM_BOX_ADMIN_SEED" not in env: diff --git a/scripts/upgrade_fixtures_box.py b/scripts/upgrade_fixtures_box.py index 84f820e..d70f70e 100644 --- a/scripts/upgrade_fixtures_box.py +++ b/scripts/upgrade_fixtures_box.py @@ -673,7 +673,10 @@ BOX_ADMIN_SEED_ENV = "FELHOM_BOX_ADMIN_SEED" # the run's explicit opt-in # (VM 341 on the HP box, `09` §3 decisions 149 and 158 — disposable). demo-hp's 9201 is household-shaped and is NEVER # here: a demo box's household apps are never seeded through their admin. BOX_ADMIN_SEED_GUESTS = {("demo-hp", "9202"), ("tester-1", "9201")} -DRILL_CATALOG_MARK = "app-catalog-drill" # a test run points the box at the drill catalog (`09` §6.5) +# A test run points the box at the drill catalog (`09` §6.5): the drill repo itself, or its local mirror on the box (R-992, +# box_walk.MIRROR_URL's name; since then every walk uses the mirror, so the first mark alone refused the admin seed: 2026-11-02). +DRILL_CATALOG_MARK = "app-catalog-drill" +DRILL_CATALOG_MIRROR_MARK = "/drill-catalog.git" def box_admin_seed_allowed(w, app): @@ -694,7 +697,7 @@ def box_admin_seed_allowed(w, app): if app not in (getattr(w, "DEPLOYED_THIS_RUN", None) or set()): return False, "this run did not install %s (a reused app may be a household's)" % app conf = w.guest("grep -A3 '^git:' /var/lib/docker/volumes/felhom-controller-data/_data/controller.yaml") - if DRILL_CATALOG_MARK not in (conf or ""): + if DRILL_CATALOG_MARK not in (conf or "") and DRILL_CATALOG_MIRROR_MARK not in (conf or ""): return False, "the box is not on the drill catalog — not a test run" return True, "" @@ -793,8 +796,28 @@ class Vaultwarden: "keys": {"encryptedPrivateKey": _encstring(64), "publicKey": base64.b64encode(secrets.token_bytes(64)).decode()}, "kdf": 0, "kdfIterations": 600000}) - return w.app_curl(sub, "/identity/accounts/register", "-H", "Content-Type: application/json", - data=body, method="POST") + rc, code, out = w.app_curl(sub, "/identity/accounts/register", "-H", "Content-Type: application/json", + data=body, method="POST") + if code != "404": + return rc, code, out + # Vaultwarden 1.37 moved the route: /identity/accounts/register answers 404 (2026-11-02, 1.37.4 on 9202). The web vault + # asks for a verification token first (with mail off it is the answer, and only for an allowed or invited address), then + # finishes with it (src/api/identity.rs, src/api/core/accounts.rs at 1.37.4). + d = json.loads(body) + rc, code, out = w.app_curl(sub, "/identity/accounts/register/send-verification-email", + "-H", "Content-Type: application/json", + data=json.dumps({"email": d["email"], "name": d["name"]}), method="POST") + if code != "200": + return rc, code, out + token = out.strip().strip('"') + finish = json.dumps({"email": d["email"], "emailVerificationToken": token, "name": d["name"], + "masterPasswordHash": d["masterPasswordHash"], + "masterPasswordHint": None, "userSymmetricKey": d["key"], + "userAsymmetricKeys": {"publicKey": d["keys"]["publicKey"], + "encryptedPrivateKey": d["keys"]["encryptedPrivateKey"]}, + "kdf": d["kdf"], "kdfIterations": d["kdfIterations"]}) + return w.app_curl(sub, "/identity/accounts/register/finish", "-H", "Content-Type: application/json", + data=finish, method="POST") def seed(self, w, sub, say): if not w.wait_app(sub, "/alive", want=("200",)): @@ -1228,7 +1251,8 @@ class ActualBudget: rc, code, body = w.app_curl(sub, "/account/bootstrap", "-H", "Content-Type: application/json", data=json.dumps({"password": pw}), method="POST") - say(f" actualbudget: /account/bootstrap http={code} :: {body[:140]}") + # the body carries a session token when it works (2026-11-02: one reached the evidence, dead by then): only a refusal is quoted + say(f" actualbudget: /account/bootstrap http={code}" + ("" if code == "200" else f" :: {body[:140]}")) if code not in ("200", "201") or '"status":"ok"' not in body: return None return {"pw": pw} @@ -1332,10 +1356,16 @@ class N8n: return None email = f"drill-{secrets.token_hex(4)}@gate.invalid" pw = "Drill" + secrets.token_hex(8) + "1" - rc, code, body = w.app_curl(sub, "/rest/owner/setup", "-H", "Content-Type: application/json", - data=json.dumps({"email": email, "firstName": "drill", - "lastName": "drill", "password": pw}), - method="POST") + # /healthz answers before the REST routes exist: a POST 4 s after it got Express's own 404 „Cannot POST" (2026-11-02, + # 2.44.7 on 9202, an inconclusive walk). So a 404 waits and tries again; any other refusal is an answer. + for _try in range(12): + rc, code, body = w.app_curl(sub, "/rest/owner/setup", "-H", "Content-Type: application/json", + data=json.dumps({"email": email, "firstName": "drill", + "lastName": "drill", "password": pw}), + method="POST") + if code != "404": + break + time.sleep(10) say(f" n8n: /rest/owner/setup http={code}") if code not in ("200", "201"): say(f" n8n: refused {body[:220]}") diff --git a/templates/actualbudget/.felhom.yml b/templates/actualbudget/.felhom.yml index f06643f..04b61d1 100644 --- a/templates/actualbudget/.felhom.yml +++ b/templates/actualbudget/.felhom.yml @@ -15,7 +15,7 @@ subdomain: "budget" slug: "actualbudget" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-09-22" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -194,6 +194,7 @@ i18n: # gated by scripts/check-test-record.py. An image: move without a proven entry here is refused. update_ladder: - {"from": {"actualbudget": "actualbudget/actual-server:26.7.0"}, "to": {"actualbudget": "actualbudget/actual-server:26.9.0"}, "digest": {"actualbudget": "sha256:552beab3dec8c93d46b8b9245612d63c3f123b8a45063a474f53e229b17621d3"}, "verdict": "proven", "tested_at": "2026-09-21T18:37:49.287537+00:00", "harness_version": 1, "evidence": "felhom.eu/documentation/audits/update-night-2026-09-21/apps/actualbudget/verdict.json", "memory_peak_pct": null, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "backfilled": "2026-09-23", "note": "backfilled from catalog commit 2060032; box walk only (harness v1, no memory watch); digest = what the registry served on 2026-09-23, not a measurement of the tested image"} + - {"from": {"actualbudget": "actualbudget/actual-server:26.9.0"}, "to": {"actualbudget": "actualbudget/actual-server:26.11.0"}, "digest": {"actualbudget": "sha256:06cf186569cf58d93e12659ff1a517b65b5b0ebee7050a3991d4bd8a1d398da6"}, "verdict": "security_fix", "tested_at": "2026-11-02T22:41:43Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/actualbudget", "memory_peak_pct": 16.8, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["CVE-2026-111497"], "advisory": "https://nvd.nist.gov/vuln/detail/CVE-2026-111497", "fixed_in": "26.11.0"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/actualbudget/docker-compose.yml b/templates/actualbudget/docker-compose.yml index 269995a..9fbe120 100644 --- a/templates/actualbudget/docker-compose.yml +++ b/templates/actualbudget/docker-compose.yml @@ -11,7 +11,7 @@ services: actualbudget: - image: actualbudget/actual-server:26.9.0 + image: actualbudget/actual-server:26.11.0 container_name: actualbudget restart: unless-stopped environment: diff --git a/templates/actualbudget/steps/02c45bb806b4208f.felhom.yml b/templates/actualbudget/steps/02c45bb806b4208f.felhom.yml new file mode 100644 index 0000000..a7d49cd --- /dev/null +++ b/templates/actualbudget/steps/02c45bb806b4208f.felhom.yml @@ -0,0 +1,190 @@ +# ============================================================================= +# .felhom.yml — App metadata for felhom-controller +# ============================================================================= +# Place alongside docker-compose.yml in each stack directory: +# /opt/docker/stacks/actualbudget/.felhom.yml +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "ActualBudget" +description: "Személyes pénzügyek és költségvetés kezelése" +category: "finance" +subdomain: "budget" + +# --- Asset slug --- +slug: "actualbudget" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-09-22" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "50M" + mem_limit: "256M" + pi_compatible: true + 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: "budget" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) --- +# The first visitor would create the admin; a fresh install is closed to everyone but the household until the first setup is done. +setup_gate: true +# measured on 9202 2026-09-29: data.bootstrapped false -> true once the server password is set. +setup_done_probe: + url: http://actualbudget:5006/account/needs-bootstrap + field: data.bootstrapped + done: "true" + +# --- App info (info page content) --- +app_info: + tagline: 'Költségvetés tervező - pénzügyeid kézben tartása egyszerűen' + docs_url: 'https://actualbudget.org/docs/' + + use_cases: + - 'Havi költségvetés tervezése és követése envelope módszerrel' + - 'Bankszámla tranzakciók importálása és kategorizálása' + - 'Riportok és grafikonok a kiadásokról és bevételekről' + - 'Több felhasználó - közös háztartási pénzügyek kezelése' + - 'Offline is működik, szinkronizálás a szerver és eszközök között' + + first_steps: + - 'Nyisd meg a budget.DOMAIN címet a böngészőben' + - 'Hozz létre egy jelszót az első megnyitáskor' + - 'Hozd létre a költségvetési kategóriákat (pl. élelmiszer, közlekedés)' + - 'Adj hozzá számlákat és kezdd el rögzíteni a tranzakciókat' + guide: + checked_version: "26.9.0" + sections: + - title: "Banki kivonat betöltése" + intro: "Nem kell minden tételt kézzel beírnod: a netbankból letöltött fájlt az Actual be tudja olvasni." + steps: + - "A netbankodban töltsd le a számla tételeit CSV, OFX, QFX, QIF vagy CAMT fájlként." + - "Az ActualBudget bal oldali sávjában kattints a számla nevére." + - "Kattints az „Import” (Importálás) gombra, és válaszd ki a letöltött fájlt." + - "CSV fájlnál párosítsd az oszlopokat (dátum, partner, összeg), és nézd meg, jól olvassa-e a dátumot." + - "Indítsd az importálást az ablak alján lévő gombbal. A már meglévő tételeket az Actual nem veszi fel újra." + - title: "A havi keret beosztása" + intro: "Minden forintnak adj feladatot: a bevételt szétosztod a kategóriák között." + steps: + - "A bal oldali sávban nyisd meg a „Budget” (Költségvetés) oldalt." + - "Egy kategória sorában kattints a „Budgeted” (Betervezett) oszlopba, és írd be, mennyit szánsz rá ebben a hónapban." + - "Folytasd a többi kategóriával, amíg a „To Budget” (Beosztandó) összeg nulla nem lesz." + - "A „Spent” (Elköltött) oszlop mutatja, mennyit költöttél, a „Balance” (Egyenleg) pedig, mennyi maradt." + - title: "Rendszeres számlák felvétele" + intro: "A havonta visszatérő tételeket, például a lakbért vagy a villanyszámlát, előre beállíthatod." + steps: + - "A bal oldali sávban nyisd meg a „Schedules” (Ütemezések) oldalt." + - "Kattints az „Add new schedule” (Új ütemezés) gombra." + - "Töltsd ki a „Payee” (Partner), az „Account” (Számla), az „Amount” (Összeg) és a „Date” (Dátum) mezőt." + - "Jelöld be a „Repeats” (Ismétlődik) jelölőt, és válaszd ki, milyen gyakran jön a tétel." + - "Kattints az „Add” (Hozzáadás) gombra. A közelgő tételeket a számla listájában is látod." + - title: "Telefonon és a családdal" + intro: "A háztartás minden tagja ugyanazt a költségvetést látja, bármelyik eszközről." + steps: + - "A telefonon nyisd meg a budget.DOMAIN címet a böngészőben." + - "Írd be a szerver jelszavát, és kattints a „Sign in” (Bejelentkezés) gombra." + - "Válaszd ki a költségvetési fájlt. Amit bárki módosít, az a többi eszközre is átkerül." + - "A böngésző menüjében add hozzá az oldalt a kezdőképernyőhöz, így appként indul." + - "A jelszót jobb felül, a szerver állapotára kattintva, a „Change password” (Jelszó módosítása) ponttal cserélheted le." + faq: + - q: "Hol látom, mire ment el a pénz?" + a: "A bal oldali sávban a „Reports” (Kimutatások) oldalon. Itt van a „Cash Flow” (Pénzmozgás) és a „Net Worth” (Nettó vagyon) grafikon is." + - q: "Össze tudom kötni a bankommal?" + a: "Az Actual néhány külső banki szolgáltatással tud kapcsolódni, ehhez saját fiók kell náluk; a doboz ezt nem állítja be. A legegyszerűbb a netbankból letöltött fájl betöltése." + - q: "Kaphat mindenki saját belépést?" + a: "Alapból nem: az egész háztartás ugyanazzal a szerverjelszóval lép be, és ugyanazt a fájlt látja. Külön felhasználókhoz az Actual külső bejelentkező szolgáltatást kér, ezt a doboz nem állítja be." + - q: "Működik internet nélkül is?" + a: "Igen. Az Actual a te eszközödön is tárolja az adatokat, és amikor a doboz újra elérhető, szinkronizál." + - q: "Hogyan mentek ki egy példányt a költségvetésről?" + a: "A „Settings” (Beállítások) oldalon az „Export data” (Adatok exportálása) gomb egy zip fájlba menti. A doboz saját mentéseit a vezérlőpulton, az „Adatok és mentés” fülön látod." + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: http + port: 5006 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'Personal finances and budgeting' + app_info: + tagline: 'A budget planner - keep a simple hold on your money' + use_cases: + - 'Plan and follow a monthly budget, envelope style' + - 'Import bank transactions and sort them into categories' + - 'Reports and graphs of what came in and what went out' + - 'Several people - run the household''s money together' + - 'Works offline too, and syncs between the server and your devices' + first_steps: + - 'Open budget.DOMAIN in your browser' + - 'Set a password the first time you open it' + - 'Create your budget categories (food, transport and so on)' + - 'Add your accounts and start entering transactions' + guide: + sections: + - title: "Load a bank statement" + intro: "You do not have to type in every item by hand: Actual can read the file you download from your online bank." + steps: + - "In your online bank, download the account items as a CSV, OFX, QFX, QIF or CAMT file." + - "In the ActualBudget sidebar on the left, select the name of the account." + - "Select „Import” and choose the file you downloaded." + - "For a CSV file, match the columns (date, payee, amount) and check that the date reads correctly." + - "Start the import with the button at the bottom of the window. Actual does not add items it already has." + - title: "Plan the month" + intro: "Give every unit of money a job: you share your income out between the categories." + steps: + - "In the sidebar on the left, open the „Budget” page." + - "In the row of a category, select the „Budgeted” column and type how much you set aside for it this month." + - "Go on with the other categories until the „To Budget” amount is zero." + - "The „Spent” column shows what you spent, and „Balance” shows what is left." + - title: "Add regular bills" + intro: "You can set up items that come back every month, such as the rent or the electricity bill, in advance." + steps: + - "In the sidebar on the left, open the „Schedules” page." + - "Select „Add new schedule”." + - "Fill in the „Payee”, „Account”, „Amount” and „Date” fields." + - "Tick „Repeats” and choose how often the item comes." + - "Select „Add”. You also see the upcoming items in the account's list." + - title: "On a phone and with the family" + intro: "Everyone in the household sees the same budget, from any device." + steps: + - "On the phone, open budget.DOMAIN in the browser." + - "Type the server password and select „Sign in”." + - "Choose the budget file. What anyone changes reaches the other devices too." + - "In the browser's menu, add the page to the home screen so it starts like an app." + - "To change the password, select the server status at the top right and choose „Change password”." + faq: + - q: "Where do I see what the money went on?" + a: "On the „Reports” page in the sidebar on the left. The „Cash Flow” and „Net Worth” graphs are there too." + - q: "Can I connect it to my bank?" + a: "Actual can connect through a few outside bank services, and you need your own account with them; the box does not set this up. The simplest way is to load the file from your online bank." + - q: "Can everyone have their own login?" + a: "Not by default: the whole household signs in with the same server password and sees the same file. For separate users Actual needs an outside sign-in service, and the box does not set that up." + - q: "Does it work without the internet?" + a: "Yes. Actual also keeps the data on your own device, and it syncs when the box can be reached again." + - q: "How do I save a copy of the budget?" + a: "On the „Settings” page, „Export data” saves it into a zip file. You see the box's own backups on the dashboard, on the „Data and backup” tab." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' diff --git a/templates/actualbudget/steps/02c45bb806b4208f.yml b/templates/actualbudget/steps/02c45bb806b4208f.yml new file mode 100644 index 0000000..269995a --- /dev/null +++ b/templates/actualbudget/steps/02c45bb806b4208f.yml @@ -0,0 +1,46 @@ +# ActualBudget - Personal Finance / Budgeting +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~50MB (mem_limit: 256M) | Pi-compatible: Yes +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# +# First-time setup: +# Create a password on first visit, no default credentials. + +services: + actualbudget: + image: actualbudget/actual-server:26.9.0 + container_name: actualbudget + restart: unless-stopped + environment: + - TZ=Europe/Budapest + volumes: + - actualbudget_data:/data + networks: + - traefik-public + deploy: + resources: + limits: + memory: 256M + healthcheck: + test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:5006/', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s + labels: + - "traefik.enable=true" + - "traefik.http.routers.actualbudget.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.actualbudget.entrypoints=websecure" + - "traefik.http.routers.actualbudget.tls=true" + - "traefik.http.routers.actualbudget.tls.certresolver=letsencrypt" + - "traefik.http.services.actualbudget.loadbalancer.server.port=5006" + +volumes: + actualbudget_data: + +networks: + traefik-public: + external: true diff --git a/templates/gitea/.felhom.yml b/templates/gitea/.felhom.yml index f2ae2a3..92508a1 100644 --- a/templates/gitea/.felhom.yml +++ b/templates/gitea/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "git" slug: "gitea" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-10-28" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -217,6 +217,7 @@ i18n: update_ladder: - {"from": {"gitea": "gitea/gitea:1.27.0"}, "to": {"gitea": "gitea/gitea:1.27.3"}, "digest": {"gitea": "sha256:87a67ee09d3ae0d1df5fda5dcda3e2a1f9236a45b0a59025d6e00e46adc43bef"}, "verdict": "proven", "tested_at": "2026-09-30T15:14:09Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/bench/apps/gitea/bench/evidence/MV-gitea/verdict.json", "box_evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/box/gitea/step.txt", "memory_peak_pct": 26.6, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 52.9} - {"from": {"gitea": "gitea/gitea:1.27.3"}, "to": {"gitea": "gitea/gitea:28.2.0"}, "digest": {"gitea": "sha256:30777c91280d973fa02be48b1ade735bd6859e8f6f7af3b4444d519437852504"}, "verdict": "proven", "tested_at": "2026-10-28T18:04:34Z", "harness_version": 5, "evidence": "documentation/audits/gitea-wanderer-2026-10-28/gitea/bench", "box_evidence": "documentation/audits/gitea-wanderer-2026-10-28/gitea/box", "memory_peak_pct": 25.6, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 70.7} + - {"from": {"gitea": "gitea/gitea:28.2.0"}, "to": {"gitea": "gitea/gitea:28.3.0"}, "digest": {"gitea": "sha256:8967bf9deaf3c5c4adae13519436dc1b20c646ac83fe37ae810c933a1045227d"}, "verdict": "security_fix", "tested_at": "2026-11-02T21:56:24Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/gitea", "memory_peak_pct": 19.1, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["GHSA-8p3x-w464-4g6v", "GHSA-jh8p-x4ch-389q", "GHSA-37xv-m4w7-j2fh", "GHSA-8g99-g36h-5p2w", "GHSA-32h8-5xqg-h466", "GHSA-9v6p-xpcp-7488", "GHSA-6h2f-c8jm-84hc"], "advisory": "https://github.com/go-gitea/gitea/security/advisories/GHSA-8p3x-w464-4g6v", "fixed_in": "28.3.0"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/gitea/docker-compose.yml b/templates/gitea/docker-compose.yml index 857717a..5b997b9 100644 --- a/templates/gitea/docker-compose.yml +++ b/templates/gitea/docker-compose.yml @@ -8,7 +8,7 @@ services: gitea: - image: gitea/gitea:28.2.0 + image: gitea/gitea:28.3.0 container_name: gitea restart: unless-stopped environment: diff --git a/templates/gitea/steps/b010d61b888c3326.felhom.yml b/templates/gitea/steps/b010d61b888c3326.felhom.yml new file mode 100644 index 0000000..1da4985 --- /dev/null +++ b/templates/gitea/steps/b010d61b888c3326.felhom.yml @@ -0,0 +1,212 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Gitea" +description: "Könnyű, saját Git szerver webes felülettel" +category: "dev" +subdomain: "git" +slug: "gitea" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-28" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "100M" + mem_limit: "512M" + 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: "git" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + +# --- The setup gate (controller >= 0.281.0, `09` §3 decisions 46-47) --- +# The first visitor would create the admin; a fresh install is closed to everyone but the household until the first setup is done. +setup_gate: true +# Decision 47: the app's own sign-up address is closed once the gate opens (measured on 9202 2026-09-29: /user/sign_up served the registration form after the setup; case-insensitive and slash-tolerant because termix's router ignores case (measured 2026-09-29)). +signup_block: "PathRegexp(`(?i)^/+user/+sign_up`)" +# The app's OWN sign-up switch, set once the gate opens (measured on 9202 2026-09-29: with it on a stranger's +# sign-up is refused even straight at the app; safe from install too (the installer makes the admin)). The compose default stays open, so an installed app is +# unchanged by the catalog. +after_setup: + env: + SIGNUP_CLOSED: "true" + +# --- App info (info page content) --- +app_info: + tagline: "Saját Git szerver - GitHub-szerű felület, privát repók" + add_people: "Webhely adminisztráció → Felhasználói fiókok → Új felhasználói fiók létrehozása." + docs_url: "https://docs.gitea.com/" + + use_cases: + - 'Privát Git repozitóriók a saját szerveren' + - 'GitHub-szerű felület: pull request, issue, wiki' + - 'CI/CD pipeline-ok (Gitea Actions - GitHub Actions kompatibilis)' + - 'Szervezetek és csapatok kezelése' + - 'Container registry és csomagkezelő' + + first_steps: + - 'Nyisd meg a git.DOMAIN címet a böngészőben' + - 'Kövesd az első beállítás varázslót' + - 'Hozd létre az admin fiókot' + - 'Hozd létre az első repozitóriót' + - 'Klónozd a repót: git clone https://git.DOMAIN/user/repo.git' + guide: + checked_version: "1.27.3" + sections: + - title: "Meglévő projekt áthozása" + intro: "Egy máshol tárolt projektet a teljes előzményével együtt áthozhatsz." + steps: + - "Kattints a jobb felső sarokban a + jelre, és válaszd az „Új migráció” pontot." + - "Válaszd ki, honnan hozod a projektet, például GitHub vagy Git." + - "A „Migráció / Másolás URL-ről” mezőbe másold be a projekt klónozási címét." + - "Ha csak te láthatod, jelöld be a „Make repository private” (a tároló legyen privát) jelölőt." + - "Kattints a „Tároló migrációja” gombra, és várd meg, amíg végez." + - title: "Közös munka egy tárolón" + intro: "Egy tárolón többen is dolgozhattok, ha mindenkinek van saját fiókja." + steps: + - "Nyisd meg a tárolót, és kattints a „Beállítások” lapra." + - "A bal oldalon válaszd a „Collaborators” (közreműködők) pontot." + - "Írd be a családtag felhasználónevét, és kattints az „Add Collaborator” (közreműködő hozzáadása) gombra." + - "A neve mellett állítsd be a jogát: „Írás” vagy „Olvasott” (csak olvasás)." + - title: "Teendők követése" + intro: "A hibajegy egy teendő vagy egy hiba, amelyet a tároló mellett követtek." + steps: + - "Nyisd meg a tárolót, és kattints a „Hibajegyek” lapra." + - "Kattints az „Új hibajegy” gombra, és írj címet és leírást." + - "A „Megbízottak” résznél kiválaszthatod, ki foglalkozzon vele." + - "Kattints a „Hibajegy létrehozása” gombra." + - "Ha kész, a hibajegy alján kattints a „Close Issue” (hibajegy lezárása) gombra." + - title: "Kétlépcsős belépés" + intro: "A jelszó mellé a telefonod is kell a belépéshez, így a fiókod biztonságosabb." + steps: + - "Kattints jobb felül a profilképedre, és válaszd a „Beállítások” pontot." + - "A „Biztonság” lapon kattints az „Enroll in Two-Factor Authentication” (kétlépcsős hitelesítés bekapcsolása) gombra." + - "Olvasd be a képet a telefonod hitelesítő alkalmazásával, írd be a kódot a „Jelkód” mezőbe, és kattints az „Ellenőrzés” gombra." + - "A git ezután jelszó helyett tokent kér. Az „Alkalmazások” lapon írj nevet a „Token neve” mezőbe, a repository sorban válaszd a „Read and Write” (olvasás és írás) értéket, és kattints a „Token generálása” gombra." + - "Másold le a tokent azonnal: többször nem jelenik meg." + faq: + - q: "Miért nem működik a klónozás SSH-val?" + a: "A doboz a Gitea-t csak a webes címén (git.DOMAIN) teszi elérhetővé, SSH-n nem. Klónozáshoz a HTTPS címet használd." + - q: "Hogyan kap fiókot egy családtag?" + a: "Idegen nem regisztrálhat: a doboz az első fiók után lezárta a regisztrációt. Új fiókot az admin hoz létre a „Rendszergazdai felület” oldalon, a „Felhasználói fiókok” résznél, a „Felhasználó létrehozása” gombbal." + - q: "Ki látja a tárolóimat?" + a: "A nyilvános tárolót alapból bejelentkezés nélkül is bárki láthatja, aki megnyitja a git.DOMAIN címet. A privátot csak te és a közreműködők. Később a tároló „Beállítások” lapján, a „Danger Zone” (veszélyes zóna) résznél a „Make Private” (privát legyen) gombbal váltasz." + - q: "Miért nem fogadja el a git a jelszavamat?" + a: "Ha bekapcsoltad a kétlépcsős belépést, a git jelszó helyett tokent kér. A tokent az „Alkalmazások” lapon hozod létre, és a jelszó helyére írod." + - q: "Hol vannak a tárolóim?" + a: "A Gitea saját adattárában, a dobozon. A mentésüket az „Adatok és mentés” fülön látod." + + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 3000 + # /api/healthz is always available (200) once serving; /api/v1/version 404s pre-install-lock. + path: "/api/healthz" + expect: + status: 200 + +# --- App-email mapping (apps → in-controller shim → hub → Resend) --- +# Gitea uses STARTTLS to the shim and trusts its self-signed cert via FORCE_TRUST_SERVER_CERT. +# Gitea applies GITEA__* env on every boot, so toggling app-email + redeploy takes effect. The From +# is Gitea's single GITEA__mailer__FROM; USER/PASSWD stay unset (the shim accepts no-auth). +smtp_mapping: + host_var: GITEA__mailer__SMTP_ADDR + port_var: GITEA__mailer__SMTP_PORT + security_var: GITEA__mailer__PROTOCOL + security_value: "smtp+starttls" + from_var: GITEA__mailer__FROM + from_local: gitea + extra: + GITEA__mailer__ENABLED: "true" + GITEA__mailer__FORCE_TRUST_SERVER_CERT: "true" + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'A light Git server of your own, with a web interface' + app_info: + tagline: 'Your own Git server - a GitHub-like interface and private repositories' + add_people: "Site Administration → User Accounts → Create User Account." + use_cases: + - 'Private Git repositories on your own server' + - 'A GitHub-like interface: pull requests, issues, a wiki' + - 'CI/CD pipelines (Gitea Actions - compatible with GitHub Actions)' + - 'Organisations and teams' + - 'A container registry and a package registry' + first_steps: + - 'Open git.DOMAIN in your browser' + - 'Follow the first-run setup wizard' + - 'Create the admin account' + - 'Create your first repository' + - 'Clone it: git clone https://git.DOMAIN/user/repo.git' + guide: + sections: + - title: "Bring over an existing project" + intro: "You can bring over a project kept elsewhere, with its whole history." + steps: + - "Select the + sign at the top right and choose „New Migration”." + - "Choose where the project comes from, for example GitHub or Git." + - "Paste the project's clone address into „Migrate / Clone From URL”." + - "If only you should see it, tick „Make repository private”." + - "Select „Migrate Repository” and wait until it finishes." + - title: "Work together on a repository" + intro: "Several people can work on one repository if each has their own account." + steps: + - "Open the repository and select the „Settings” tab." + - "On the left, choose „Collaborators”." + - "Type the family member's user name and select „Add Collaborator”." + - "Next to their name, set what they may do: „Write” or „Read”." + - title: "Keep track of tasks" + intro: "An issue is a task or a fault that you track next to the repository." + steps: + - "Open the repository and select the „Issues” tab." + - "Select „New Issue”, and write a title and a description." + - "At „Assignees” you can choose who deals with it." + - "Select „Create Issue”." + - "When it is done, select „Close Issue” at the bottom of the issue." + - title: "Two-step sign-in" + intro: "Signing in then needs your phone as well as the password, so your account is safer." + steps: + - "Select your profile picture at the top right and choose „Settings”." + - "On the „Security” tab, select „Enroll in Two-Factor Authentication”." + - "Scan the picture with the authenticator app on your phone, type the code into „Passcode” and select „Verify”." + - "Git then asks for a token instead of the password. On the „Applications” tab, type a name into „Token Name”, choose „Read and Write” in the repository row, and select „Generate Token”." + - "Copy the token at once: it is not shown again." + faq: + - q: "Why does cloning over SSH not work?" + a: "The box makes Gitea reachable only at its web address (git.DOMAIN), not over SSH. Use the HTTPS address to clone." + - q: "How does a family member get an account?" + a: "A stranger cannot sign up: the box closed sign-up after the first account. The admin creates a new account on the „Site Administration” page, at „User Accounts”, with „Create User Account”." + - q: "Who can see my repositories?" + a: "By default, anyone who opens git.DOMAIN can see a public repository, even without signing in. A private one only you and the collaborators. To change it later, use „Make Private” in the „Danger Zone” part of the repository's „Settings” tab." + - q: "Why does git not accept my password?" + a: "If you turned on two-step sign-in, git asks for a token instead of the password. You make the token on the „Applications” tab and type it where the password goes." + - q: "Where are my repositories?" + a: "In Gitea's own data store, on the box. You see their backup on the „Data and backup” tab." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' diff --git a/templates/gitea/steps/b010d61b888c3326.yml b/templates/gitea/steps/b010d61b888c3326.yml new file mode 100644 index 0000000..857717a --- /dev/null +++ b/templates/gitea/steps/b010d61b888c3326.yml @@ -0,0 +1,65 @@ +# Gitea - Könnyű, saját Git szerver webes felülettel +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~100M (mem_limit: 512M) | Pi-compatible: Yes +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) + +services: + gitea: + image: gitea/gitea:28.2.0 + container_name: gitea + restart: unless-stopped + environment: + # decision 47: the app's own sign-up switch — open until the box closes it after the first admin (after_setup) + - GITEA__service__DISABLE_REGISTRATION=${SIGNUP_CLOSED:-false} + - TZ=Europe/Budapest + - GITEA__server__ROOT_URL=https://${SUBDOMAIN}.${DOMAIN} + - GITEA__server__SSH_DOMAIN=${SUBDOMAIN}.${DOMAIN} + - GITEA__database__DB_TYPE=sqlite3 + # Repository import (D57, operator 2026-10-28): only from these hosts. Gitea 28's own egress rules ([migrations] + # EGRESS_MODE / ALLOWED_HOST_LIST — 28.0 replaced 1.x's ALLOWED_DOMAINS, PR #39426). Measured on 9202: GitHub imports, + # gitea.com and every home-network / Docker address are refused. (28's default alone already refuses the private ones.) + - GITEA__migrations__EGRESS_MODE=strict + - GITEA__migrations__ALLOWED_HOST_LIST=github.com,codeberg.org,gitlab.com + # App-email (managed relay). Injected by the controller only when app-email is on (global + + # per-app); empty ENABLED/ADDR keeps Gitea mail disabled. Gitea applies GITEA__* env on every + # boot (environment-to-ini), so the toggle takes effect on redeploy. See .felhom.yml smtp_mapping. + - GITEA__mailer__ENABLED=${GITEA__mailer__ENABLED:-false} + - GITEA__mailer__PROTOCOL=${GITEA__mailer__PROTOCOL:-smtp+starttls} + - GITEA__mailer__SMTP_ADDR=${GITEA__mailer__SMTP_ADDR:-} + - GITEA__mailer__SMTP_PORT=${GITEA__mailer__SMTP_PORT:-2525} + - GITEA__mailer__FROM=${GITEA__mailer__FROM:-} + - GITEA__mailer__FORCE_TRUST_SERVER_CERT=${GITEA__mailer__FORCE_TRUST_SERVER_CERT:-false} + volumes: + - gitea_data:/data + networks: + - traefik-public + deploy: + resources: + limits: + memory: 512M + # /api/healthz is gitea's dedicated health endpoint (200 once serving); /api/v1/version returns + # 404 until the install wizard is completed (INSTALL_LOCK), so it falsely reported unhealthy on a + # fresh deploy. The gitea image ships curl (verified). 90s start_period covers first-boot DB migration. + healthcheck: + test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/healthz"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 90s + labels: + - "traefik.enable=true" + - "traefik.http.routers.gitea.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.gitea.entrypoints=websecure" + - "traefik.http.routers.gitea.tls=true" + - "traefik.http.routers.gitea.tls.certresolver=letsencrypt" + - "traefik.http.services.gitea.loadbalancer.server.port=3000" + +volumes: + gitea_data: + +networks: + traefik-public: + external: true diff --git a/templates/grafana/.felhom.yml b/templates/grafana/.felhom.yml index 9566065..3202bee 100644 --- a/templates/grafana/.felhom.yml +++ b/templates/grafana/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "grafana" slug: "grafana" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-10-27" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -190,6 +190,7 @@ update_ladder: - {"from": {"grafana": "grafana/grafana:13.1.0"}, "to": {"grafana": "grafana/grafana:13.2.2"}, "digest": {"grafana": "sha256:ac461fb352abc50da10a51c7d02462e9c05488f11f53f14b3ad79a8145f638a0"}, "verdict": "proven", "tested_at": "2026-09-21T19:02:25.646053+00:00", "harness_version": 1, "evidence": "felhom.eu/documentation/audits/update-night-2026-09-21/apps/grafana/verdict.json", "memory_peak_pct": null, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "backfilled": "2026-09-23", "note": "backfilled from catalog commit 068f445; box walk only (harness v1, no memory watch); digest = what the registry served on 2026-09-23, not a measurement of the tested image"} - {"from": {"grafana": "grafana/grafana:13.2.2"}, "to": {"grafana": "grafana/grafana:13.2.3"}, "digest": {"grafana": "sha256:b28bae15e219c998fb0e0424ed724930cc61b1f61fb404d47c862f9a23f9e572"}, "verdict": "proven", "tested_at": "2026-09-30T12:17:45Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/F/apps/grafana/bench/evidence/MV-grafana/verdict.json", "box_evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/box/grafana/box-verdict-grafana.json", "memory_peak_pct": 47.1, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 100.0} - {"from": {"grafana": "grafana/grafana:13.2.3"}, "to": {"grafana": "grafana/grafana:13.2.4"}, "digest": {"grafana": "sha256:dbbc38ea21103cefb50396340cd88afec779c7e070b0a7bf5a75b4ce46651d3f"}, "verdict": "security_fix", "tested_at": "2026-10-27T14:01:18Z", "harness_version": null, "evidence": null, "box_evidence": "felhom.eu/documentation/audits/security-app-updates-2026-10-27/walks/grafana/", "memory_peak_pct": 30.3, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["CVE-2026-15577"], "advisory": "https://grafana.com/security/security-advisories/cve-2026-15577/", "fixed_in": "13.2.4"}, "seed": "read_back", "memory_basis": "box_soak"} + - {"from": {"grafana": "grafana/grafana:13.2.4"}, "to": {"grafana": "grafana/grafana:13.2.5"}, "digest": {"grafana": "sha256:9f7aa1e1e3246aade5792d35a738049f7f32f89cd51d1956cf426a4e86268a84"}, "verdict": "security_fix", "tested_at": "2026-11-02T22:27:16Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/grafana", "memory_peak_pct": 31.4, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["CVE-2026-100105", "CVE-2026-103506", "CVE-2026-88858", "CVE-2026-88967"], "advisory": "https://github.com/grafana/grafana/releases/tag/v13.2.5", "fixed_in": "13.2.5"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/grafana/docker-compose.yml b/templates/grafana/docker-compose.yml index 13731b7..a2e6c68 100644 --- a/templates/grafana/docker-compose.yml +++ b/templates/grafana/docker-compose.yml @@ -10,7 +10,7 @@ services: grafana: - image: grafana/grafana:13.2.4 + image: grafana/grafana:13.2.5 container_name: grafana restart: unless-stopped environment: diff --git a/templates/grafana/steps/d1f7909b4bcffc56.felhom.yml b/templates/grafana/steps/d1f7909b4bcffc56.felhom.yml new file mode 100644 index 0000000..fe11e4d --- /dev/null +++ b/templates/grafana/steps/d1f7909b4bcffc56.felhom.yml @@ -0,0 +1,184 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Grafana" +description: "Professzionális monitoring és vizualizációs platform" +category: "dashboard" +subdomain: "grafana" +slug: "grafana" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-27" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "250M" + mem_limit: "768M" + 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: "grafana" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + + - env_var: GF_SECURITY_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: "Vizualizációs platform - dashboardok, grafikonok, alertek" + docs_url: "https://grafana.com/docs/grafana/latest/" + + use_cases: + - 'Rendszer metrikák vizualizálása (CPU, RAM, hálózat, lemez)' + - 'Egyedi dashboardok létrehozása különböző adatforrásokból' + - 'Alertek és értesítések küszöbértékek alapján' + - 'Prometheus, InfluxDB és sok más adatforrás támogatás' + - 'Szép, megosztható dashboardok' + + first_steps: + - 'Nyisd meg a grafana.DOMAIN címet a böngészőben' + - 'Jelentkezz be az admin fiókkal' + - 'Add hozzá az adatforrásokat (Connections > Data Sources)' + - 'Importálj egy dashboard sablont vagy hozz létre sajátot' + + prerequisites: + - 'Adatforrás szükséges (pl. Prometheus - külön telepítendő)' + guide: + checked_version: "13.2.3" + sections: + - title: "Saját jelszó beállítása" + intro: "A telepítéskor generált jelszót érdemes a sajátodra cserélni." + steps: + - "Kattints jobb felül a profilképedre, és válaszd a „Change password” (Jelszó módosítása) pontot." + - "Az „Old password” (régi jelszó) mezőbe írd a generált jelszót: a vezérlőpulton, a Grafana „Beállítások” fülén látod." + - "Írd be az új jelszót a „New password” (új jelszó) és a „Confirm password” (jelszó megerősítése) mezőbe." + - "Kattints a „Change Password” gombra." + - title: "Családtag felvétele" + intro: "Mindenki a saját fiókjával nézheti az irányítópultokat." + steps: + - "A bal oldali menüben nyisd meg az „Administration” (Adminisztráció) részt, azon belül a „Users and access” (felhasználók és hozzáférés) pontot." + - "Válaszd a „Users” (Felhasználók) pontot, és kattints a „New user” (új felhasználó) gombra." + - "Töltsd ki a „Name” (név), a „Username” (felhasználónév) és a „Password” (jelszó) mezőt." + - "Kattints a „Create user” (felhasználó létrehozása) gombra, és add meg a családtagnak a nevet és a jelszót." + - title: "Magyar nyelv és téma" + intro: "A nyelvet és a színeket mindenki a saját fiókjában választja meg." + steps: + - "Kattints jobb felül a profilképedre, és válaszd a „Profile” (Profil) pontot." + - "A „Language” (Nyelv) mezőben válaszd a „Magyar” nyelvet, majd kattints a „Save preferences” (beállítások mentése) gombra." + - "Világos vagy sötét színekhez a profilkép menüjében válaszd a „Change theme” (téma módosítása) pontot." + - title: "Irányítópult a tévén" + intro: "Egy irányítópult egész képernyőn, menük nélkül is futhat, például egy tévén." + steps: + - "A tévé böngészőjében lépj be egy családtag fiókjával, és nyisd meg az irányítópultot." + - "A profilkép menüjében válaszd az „Enable kiosk mode” (kioszk mód) pontot: a menük eltűnnek." + - "A kioszk módból az ESC gombbal lépsz ki." + faq: + - q: "Megváltoztattam a jelszót. Melyik az érvényes?" + a: "Amit a Grafanában beállítottál. A generált jelszó csak az első belépéshez kellett." + - q: "A családtag csak nézni tud. Miért?" + a: "Az új felhasználó a Grafanában néző szerepkört kap. Szerkesztéshez nyisd meg őt a „Users” listában, és a „Change role” (szerepkör módosítása) gombbal adj neki szerkesztő szerepkört." + - q: "Honnan jönnek az adatok?" + a: "A Grafana csak megjelenít: az adatokat egy adatforrás adja, amelyet a „Connections” (Kapcsolatok) menüben adsz hozzá. A doboz adatforrást nem telepít." + - q: "Kapok e-mailt egy riasztásról?" + a: "Nem: a doboz nem állít be levélküldést a Grafanának, ezért e-mailes riasztás nem megy ki." + - q: "Hol vannak az irányítópultjaim?" + a: "A Grafana saját adattárában, a dobozon. A mentésüket az „Adatok és mentés” fülön látod." + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 3000 + path: "/api/health" + expect: + status: 200 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'A professional monitoring and visualisation platform' + app_info: + tagline: 'A visualisation platform - dashboards, graphs and alerts' + use_cases: + - 'See system numbers as graphs (CPU, RAM, network, disk)' + - 'Build your own dashboards from several data sources' + - 'Alerts and notifications when a number crosses a line you set' + - 'Prometheus, InfluxDB and many more data sources' + - 'Dashboards that look good and can be shared' + first_steps: + - 'Open grafana.DOMAIN in your browser' + - 'Sign in with the admin account' + - 'Add your data sources (Connections > Data Sources)' + - 'Import a dashboard template, or build your own' + prerequisites: + - 'A data source is needed (Prometheus, for example - installed separately)' + guide: + sections: + - title: "Set your own password" + intro: "It is worth replacing the password made at install time with your own." + steps: + - "Select your profile picture at the top right and choose „Change password”." + - "In „Old password”, type the generated password: you see it on the dashboard, on Grafana's „Settings” tab." + - "Type the new password into „New password” and „Confirm password”." + - "Select „Change Password”." + - title: "Add a family member" + intro: "Everyone can look at the dashboards with their own account." + steps: + - "In the menu on the left, open „Administration”, and in it „Users and access”." + - "Choose „Users”, and select „New user”." + - "Fill in „Name”, „Username” and „Password”." + - "Select „Create user”, and give the family member the name and the password." + - title: "Hungarian and the theme" + intro: "Everyone chooses the language and the colours in their own account." + steps: + - "Select your profile picture at the top right and choose „Profile”." + - "In „Language”, choose Hungarian (the list shows it under its own name), then select „Save preferences”." + - "For light or dark colours, choose „Change theme” in the profile picture's menu." + - title: "A dashboard on the TV" + intro: "A dashboard can run on the whole screen with no menus, for example on a TV." + steps: + - "In the TV's browser, sign in with a family member's account and open the dashboard." + - "In the profile picture's menu, choose „Enable kiosk mode”: the menus go away." + - "Press ESC to leave kiosk mode." + faq: + - q: "I changed the password. Which one is valid?" + a: "The one you set in Grafana. The generated password was only for the first sign-in." + - q: "A family member can only look. Why?" + a: "A new user gets the viewer role in Grafana. To let them edit, open them in the „Users” list and give them the editor role with „Change role”." + - q: "Where does the data come from?" + a: "Grafana only shows data: a data source provides it, and you add that in the „Connections” menu. The box installs no data source." + - q: "Do I get an e-mail about an alert?" + a: "No: the box does not set up mail sending for Grafana, so no alert goes out by e-mail." + - q: "Where are my dashboards?" + a: "In Grafana's own data store, on the box. You see their backup on the „Data and backup” tab." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' + - env_var: GF_SECURITY_ADMIN_PASSWORD + label: 'Admin password' + description: 'For the first sign-in. You can change it in the app afterwards.' diff --git a/templates/grafana/steps/d1f7909b4bcffc56.yml b/templates/grafana/steps/d1f7909b4bcffc56.yml new file mode 100644 index 0000000..13731b7 --- /dev/null +++ b/templates/grafana/steps/d1f7909b4bcffc56.yml @@ -0,0 +1,47 @@ +# Grafana - Professzionális monitoring és vizualizációs platform +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~100M (mem_limit: 768M) | Pi-compatible: Yes +# 512M -> 768M (R-994, 2026-10-17: the 2026-10-13 sizing run measured a peak of 435 MB = 85 % of the old 512M; the new limit keeps it at or under ~70 %). +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# GF_SECURITY_ADMIN_PASSWORD- Admin jelszó (auto-generated) + +services: + grafana: + image: grafana/grafana:13.2.4 + container_name: grafana + restart: unless-stopped + environment: + - TZ=Europe/Budapest + - GF_SERVER_ROOT_URL=https://${SUBDOMAIN}.${DOMAIN} + - GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD:?the admin password is required (R-708)} + volumes: + - grafana_data:/var/lib/grafana + networks: + - traefik-public + deploy: + resources: + limits: + memory: 768M + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000/api/health"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s + labels: + - "traefik.enable=true" + - "traefik.http.routers.grafana.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.grafana.entrypoints=websecure" + - "traefik.http.routers.grafana.tls=true" + - "traefik.http.routers.grafana.tls.certresolver=letsencrypt" + - "traefik.http.services.grafana.loadbalancer.server.port=3000" + +volumes: + grafana_data: + +networks: + traefik-public: + external: true diff --git a/templates/n8n/.felhom.yml b/templates/n8n/.felhom.yml index 0b3a822..11e2867 100644 --- a/templates/n8n/.felhom.yml +++ b/templates/n8n/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "auto" slug: "n8n" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-10-27" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -195,6 +195,7 @@ update_ladder: - {"from": {"n8n": "n8nio/n8n:2.41.1"}, "to": {"n8n": "n8nio/n8n:2.41.2"}, "digest": {"n8n": "sha256:1419c3c665b02531dd43d815ef62f573aa9b1307962162a08a349dc8a452e8bf"}, "verdict": "proven", "tested_at": "2026-09-24T21:45:14Z", "harness_version": 3, "evidence": "felhom.eu/documentation/audits/night-2026-09-25/E/apps/n8n/bench", "box_evidence": "felhom.eu/documentation/audits/night-2026-09-25/E/apps/n8n/box", "memory_peak_pct": 22.4, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 55.9} - {"from": {"n8n": "n8nio/n8n:2.41.2"}, "to": {"n8n": "n8nio/n8n:2.42.1"}, "digest": {"n8n": "sha256:e7634e62f766044dc770460db8defdcd84034eb6d767dd6a1101d49fe98f814f"}, "verdict": "proven", "tested_at": "2026-09-30T12:05:01Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/F/apps/n8n/bench/evidence/MV-n8n/verdict.json", "box_evidence": "felhom.eu/documentation/audits/pg-last-six-2026-09-30/box/n8n/box-verdict-n8n.json", "memory_peak_pct": 23.0, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 45.3} - {"from": {"n8n": "n8nio/n8n:2.42.1"}, "to": {"n8n": "n8nio/n8n:2.44.7"}, "digest": {"n8n": "sha256:942bc274709f27f99f7c6024a785d8e8f75ac06838cabcba448abb8d9127ec7b"}, "verdict": "security_fix", "tested_at": "2026-10-27T13:56:23Z", "harness_version": null, "evidence": null, "box_evidence": "felhom.eu/documentation/audits/security-app-updates-2026-10-27/walks/n8n/", "memory_peak_pct": 32.3, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["GHSA-m7gv-mpg5-7c9v", "GHSA-mp7q-23hg-35cf", "GHSA-wvjj-qg37-pv73", "GHSA-pcr3-v5vr-qppf"], "advisory": "https://github.com/n8n-io/n8n/security/advisories/GHSA-wvjj-qg37-pv73", "fixed_in": "2.43.5"}, "seed": "read_back", "memory_basis": "box_soak"} + - {"from": {"n8n": "n8nio/n8n:2.44.7"}, "to": {"n8n": "n8nio/n8n:2.46.4"}, "digest": {"n8n": "sha256:4384b9ff20a78bc1708c35ce7864f84f724611de7801fb36d715998db7c000f1"}, "verdict": "security_fix", "tested_at": "2026-11-02T22:56:31Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/n8n", "memory_peak_pct": 25.1, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["GHSA-gx3v-3x3v-f8r5", "GHSA-f2cw-9483-7vcp", "GHSA-426f-xmcv-g8pg", "GHSA-4v22-g448-h4rg", "GHSA-rc3w-8jc8-7x3w", "GHSA-9qx8-fhxv-w794", "GHSA-prmc-fg87-r4gh", "GHSA-pwj5-wwm6-g83j", "GHSA-jmcg-c7p5-q69g"], "advisory": "https://github.com/n8n-io/n8n/security/advisories/GHSA-gx3v-3x3v-f8r5", "fixed_in": "2.46.4"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/n8n/docker-compose.yml b/templates/n8n/docker-compose.yml index 1097cd8..5dd991a 100644 --- a/templates/n8n/docker-compose.yml +++ b/templates/n8n/docker-compose.yml @@ -9,7 +9,7 @@ services: n8n: - image: n8nio/n8n:2.44.7 + image: n8nio/n8n:2.46.4 container_name: n8n restart: unless-stopped environment: diff --git a/templates/n8n/steps/fe1b0188d0147127.felhom.yml b/templates/n8n/steps/fe1b0188d0147127.felhom.yml new file mode 100644 index 0000000..5abf737 --- /dev/null +++ b/templates/n8n/steps/fe1b0188d0147127.felhom.yml @@ -0,0 +1,187 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "n8n" +description: "Workflow automatizálás vizuális szerkesztővel" +category: "productivity" +subdomain: "auto" +slug: "n8n" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-27" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "512M" + mem_limit: "1536M" + 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: "auto" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + + - env_var: N8N_ENCRYPTION_KEY + label: "Titkosítási kulcs" + type: secret + generate: "hex:16" + locked_after_deploy: true + # R-127: encrypts every saved credential in n8n's database (packages/core cipher). Regenerating it makes every + # stored credential unreadable, so a restore RECOVERS it and refuses rather than make a new one. + data_key: true + + +# --- The setup gate (controller >= 0.280.0, `09` §3 decision 46) --- +# The first visitor would create the admin. So a fresh install is closed to everyone but the household (a browser +# signed in to the dashboard) until the first setup is done; n8n's own settings say so (measured on 9202 2026-09-29: +# showSetupOnFirstLoad true -> false once the owner exists). +setup_gate: true +# measured on 9202 2026-09-29: showSetupOnFirstLoad true -> false after the owner setup (audits/login-gate-2026-09-29/C). +setup_done_probe: + url: http://n8n:5678/rest/settings + field: data.userManagement.showSetupOnFirstLoad + done: "false" + +# --- App info (info page content) --- +app_info: + tagline: "Vizuális workflow automatizálás - Zapier/IFTTT alternatíva" + docs_url: "https://docs.n8n.io/" + + use_cases: + - 'Alkalmazások összekapcsolása vizuális workflow szerkesztővel' + - 'Automatizálás: email, Telegram, webhook, fájl feldolgozás' + - '400+ integráció (Google, Slack, Notion, GitHub, stb.)' + - 'Időzített feladatok (cron) és webhook triggerek' + - 'AI munkafolyamatok LLM integrációval' + + first_steps: + - 'Nyisd meg az auto.DOMAIN címet a böngészőben' + - 'Hozd létre az admin fiókot' + - 'Próbálj ki egy sablon workflow-t a Template galériából' + - 'Hozd létre az első saját munkafolyamatot' + + prerequisites: + - 'x86 processzor szükséges' + guide: + checked_version: "2.42.1" + sections: + - title: "Első időzített munkafolyamat" + intro: "Egy munkafolyamat egy indítóval kezdődik, utána jönnek a lépések, amelyeket elvégez." + steps: + - "Kattints a „Create workflow” (új munkafolyamat) gombra." + - "Kattints az „Add first step…” (első lépés) mezőre, és válaszd az „On a schedule” (időzítve) lehetőséget." + - "A „Trigger Interval” (gyakoriság) mezőben állítsd be, milyen gyakran fusson." + - "Add hozzá a következő lépést a plusz jellel, majd próbáld ki az „Execute workflow” (futtatás) gombbal." + - "Ha jól működik, kattints a „Publish” (közzététel) gombra. Az időzítés csak ezután fut magától." + - title: "Futások ellenőrzése" + intro: "Az n8n minden futást megjegyez, így utólag is látod, mi történt." + steps: + - "A bal oldali menüben nyisd meg az „Executions” (futások) oldalt." + - "Minden futás mellett látod az állapotát: „Success” (sikeres) vagy „Error” (hiba)." + - "Kattints egy hibás futásra: megnyílik a munkafolyamat, és látod, melyik lépés akadt el." + - title: "Családtag meghívása" + intro: "Mindenki a saját fiókjával dolgozik, és a saját munkafolyamatait látja." + steps: + - "A bal oldali menüben nyisd meg a „Settings” (beállítások), majd a „Users” (felhasználók) oldalt." + - "Kattints az „Invite” (meghívás) gombra, és írd be a családtag e-mail-címét." + - "Kattints a „Create invite link” (meghívó link) gombra: a link a vágólapra kerül." + - "Küldd el neki a linket. Ezen állít be magának nevet és jelszót." + faq: + - q: "Miért nem fut magától a munkafolyamat?" + a: "Magától csak a közzétett munkafolyamat fut. Nézd meg, hogy a fejlécben „Published” (közzétéve) áll-e; ha nem, kattints a „Publish” gombra." + - q: "Hogyan kapcsolok ki egy munkafolyamatot?" + a: "Nyisd meg, és a „Publish” gomb melletti menüben válaszd az „Unpublish” (visszavonás) pontot. A munkafolyamat megmarad, csak nem indul el magától." + - q: "Milyen címet adjak meg egy webhooknak?" + a: "A webhook lépésben a „Production URL” (éles cím) a közzétett munkafolyamathoz tartozik, és az auto.DOMAIN címen érhető el. A „Test URL” (tesztcím) a szerkesztőben való kipróbáláshoz kell." + - q: "Egy családtag elfelejtette a jelszavát. Mit tegyek?" + a: "A „Users” oldalon a neve melletti menüben válaszd a „Copy Password Reset Link” (jelszó-visszaállító link) pontot, és küldd el neki a linket." + - q: "Biztonságban vannak a mentett belépési adatok?" + a: "Az n8n a szolgáltatásokhoz mentett belépési adatokat titkosítva tárolja, a kulcsot a doboz telepítéskor készítette. Azt, hogy mi kerül mentésbe, a vezérlőpulton, az n8n „Adatok és mentés” fülén látod." + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 5678 + path: "/healthz" + expect: + status: 200 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'Workflow automation with a visual editor' + app_info: + tagline: 'Visual workflow automation - a Zapier/IFTTT alternative' + use_cases: + - 'Wire apps together in a visual workflow editor' + - 'Automate e-mail, Telegram, webhooks and file handling' + - '400+ integrations (Google, Slack, Notion, GitHub and more)' + - 'Scheduled jobs (cron) and webhook triggers' + - 'AI workflows with an LLM in them' + first_steps: + - 'Open auto.DOMAIN in your browser' + - 'Create the admin account' + - 'Try a ready-made workflow from the Template gallery' + - 'Build your first workflow of your own' + prerequisites: + - 'An x86 processor is needed' + guide: + sections: + - title: "Your first scheduled workflow" + intro: "A workflow starts with a trigger, followed by the steps it carries out." + steps: + - "Select „Create workflow”." + - "Select „Add first step…” and choose „On a schedule”." + - "In „Trigger Interval”, set how often it runs." + - "Add the next step with the plus sign, then try it with „Execute workflow”." + - "When it works, select „Publish”. The schedule only runs by itself after that." + - title: "Check the runs" + intro: "n8n remembers every run, so you can see afterwards what happened." + steps: + - "In the menu on the left, open the „Executions” page." + - "Next to every run you see its status: „Success” or „Error”." + - "Select a failed run: the workflow opens, and you see which step got stuck." + - title: "Invite a family member" + intro: "Everyone works with their own account and sees their own workflows." + steps: + - "In the menu on the left, open „Settings”, then the „Users” page." + - "Select „Invite” and type the family member's e-mail address." + - "Select „Create invite link”: the link goes to the clipboard." + - "Send them the link. Through it they set their own name and password." + faq: + - q: "Why does the workflow not run by itself?" + a: "Only a published workflow runs by itself. Check that the header says „Published”; if not, select „Publish”." + - q: "How do I switch a workflow off?" + a: "Open it, and in the menu next to the „Publish” button choose „Unpublish”. The workflow stays, it just does not start by itself." + - q: "Which address do I give a webhook?" + a: "In the webhook step, the „Production URL” belongs to the published workflow and is reached on auto.DOMAIN. The „Test URL” is for trying it out in the editor." + - q: "A family member forgot their password. What do I do?" + a: "On the „Users” page, in the menu next to their name, choose „Copy Password Reset Link”, and send them the link." + - q: "Are the saved sign-in details safe?" + a: "n8n stores the sign-in details you save for services encrypted, with a key the box made at install time. What is backed up, you see on the dashboard, on n8n's „Data and backup” tab." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' + - env_var: N8N_ENCRYPTION_KEY + label: 'Encryption key' diff --git a/templates/n8n/steps/fe1b0188d0147127.yml b/templates/n8n/steps/fe1b0188d0147127.yml new file mode 100644 index 0000000..1097cd8 --- /dev/null +++ b/templates/n8n/steps/fe1b0188d0147127.yml @@ -0,0 +1,50 @@ +# n8n - Workflow automatizálás vizuális szerkesztővel +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~150M (mem_limit: 512M) | Pi-compatible: No +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# N8N_ENCRYPTION_KEY- Titkosítási kulcs (auto-generated) + +services: + n8n: + image: n8nio/n8n:2.44.7 + container_name: n8n + restart: unless-stopped + environment: + - TZ=Europe/Budapest + - N8N_HOST=${SUBDOMAIN}.${DOMAIN} + - N8N_PROTOCOL=https + # No usage data leaves the home (catalog sweep 2026-10-24: the log showed n8n's telemetry client trying to send) + - N8N_DIAGNOSTICS_ENABLED=false + - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN}/ + - N8N_ENCRYPTION_KEY=${N8N_ENCRYPTION_KEY} + volumes: + - n8n_data:/home/node/.n8n + networks: + - traefik-public + deploy: + resources: + limits: + memory: 1536M + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:5678/healthz"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 30s + labels: + - "traefik.enable=true" + - "traefik.http.routers.n8n.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.n8n.entrypoints=websecure" + - "traefik.http.routers.n8n.tls=true" + - "traefik.http.routers.n8n.tls.certresolver=letsencrypt" + - "traefik.http.services.n8n.loadbalancer.server.port=5678" + +volumes: + n8n_data: + +networks: + traefik-public: + external: true diff --git a/templates/uptime-kuma/.felhom.yml b/templates/uptime-kuma/.felhom.yml index 669f77b..42e8753 100644 --- a/templates/uptime-kuma/.felhom.yml +++ b/templates/uptime-kuma/.felhom.yml @@ -10,7 +10,7 @@ subdomain: "status" slug: "uptime-kuma" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-10-27" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -183,6 +183,7 @@ i18n: update_ladder: - {"from": {"uptime-kuma": "louislam/uptime-kuma:2.4.0"}, "to": {"uptime-kuma": "louislam/uptime-kuma:2.5.5"}, "digest": {"uptime-kuma": "sha256:c74379ac4509ce2d2c2633f509e67003ee2e45b6e995c5e43fc101f45a0e1fbe"}, "verdict": "proven", "tested_at": "2026-09-30T16:50:40Z", "harness_version": 4, "evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/bench/apps/uptime-kuma/bench/evidence/MV-uptime-kuma/verdict.json", "box_evidence": "felhom.eu/documentation/audits/more-night-apps-2026-09-30/box/uptime-kuma/step.txt", "memory_peak_pct": 43.3, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 49.7} - {"from": {"uptime-kuma": "louislam/uptime-kuma:2.5.5"}, "to": {"uptime-kuma": "louislam/uptime-kuma:2.5.7"}, "digest": {"uptime-kuma": "sha256:4b95dbe7ac5343b768f8e04e3035ccd59997872b1a35ab9b0f082d2cc279070e"}, "verdict": "security_fix", "tested_at": "2026-10-27T14:24:47Z", "harness_version": null, "evidence": null, "box_evidence": "felhom.eu/documentation/audits/security-app-updates-2026-10-27/walks/uptime-kuma/", "memory_peak_pct": 26.3, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["CVE-2026-111497"], "advisory": "https://nodejs.org/en/blog/vulnerability/october-2026-security-releases", "fixed_in": "2.5.7"}, "seed": "read_back", "memory_basis": "box_soak"} + - {"from": {"uptime-kuma": "louislam/uptime-kuma:2.5.7"}, "to": {"uptime-kuma": "louislam/uptime-kuma:2.5.9"}, "digest": {"uptime-kuma": "sha256:e88415a90dd2f7efecdbc18de0490aff292764a3ac471531bf1d0481725591bd"}, "verdict": "security_fix", "tested_at": "2026-11-02T22:10:43Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/uptime-kuma", "memory_peak_pct": 26.1, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["GHSA-86ch-2247-gr56", "GHSA-v2p3-6f5h-6hhf"], "advisory": "https://github.com/louislam/uptime-kuma/security/advisories/GHSA-86ch-2247-gr56", "fixed_in": "2.5.9"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/uptime-kuma/docker-compose.yml b/templates/uptime-kuma/docker-compose.yml index 8487243..be6b882 100644 --- a/templates/uptime-kuma/docker-compose.yml +++ b/templates/uptime-kuma/docker-compose.yml @@ -9,7 +9,7 @@ services: uptime-kuma: - image: louislam/uptime-kuma:2.5.7 + image: louislam/uptime-kuma:2.5.9 container_name: uptime-kuma restart: unless-stopped environment: diff --git a/templates/uptime-kuma/steps/255cf237ddd88b55.felhom.yml b/templates/uptime-kuma/steps/255cf237ddd88b55.felhom.yml new file mode 100644 index 0000000..1bab7bc --- /dev/null +++ b/templates/uptime-kuma/steps/255cf237ddd88b55.felhom.yml @@ -0,0 +1,178 @@ +# ============================================================================= +# .felhom.yml - App metadata for felhom-controller +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Uptime Kuma" +description: "Szolgáltatás és weboldal monitoring" +category: "dashboard" +subdomain: "status" +slug: "uptime-kuma" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-27" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "150M" + 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: "status" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + + +# --- The setup gate (controller >= 0.280.0, `09` §3 decision 46) --- +# The first visitor would create the admin. So a fresh install is closed to everyone but the household (a browser +# signed in to the dashboard) until the first setup is done. uptime-kuma says it only over socket.io, so the household presses "Done, I set it up" +# on the app page. +setup_gate: true + +# --- App info (info page content) --- +app_info: + tagline: "Szolgáltatás monitoring - értesítés ha valami nem működik" + docs_url: "https://github.com/louislam/uptime-kuma/wiki" + + use_cases: + - 'Weboldalak és szolgáltatások elérhetőségének figyelése' + - 'HTTP, TCP, DNS, ping és egyéb protokollok támogatása' + - 'Értesítések emailben, Telegramon, Discord-on, stb.' + - 'Nyilvános státusz oldal a felhasználóknak' + - 'Szép grafikonok a rendelkezésre állásról' + + first_steps: + - 'Nyisd meg a status.DOMAIN címet a böngészőben' + - 'Hozd létre az admin fiókot az első megnyitáskor' + - 'Add hozzá az első monitort (pl. a saját weboldalad)' + - 'Állíts be értesítéseket (email, Telegram, stb.)' + - 'Opcionálisan: hozz létre egy nyilvános státusz oldalt' + guide: + checked_version: "2.5.5" + sections: + - title: "Karbantartás bejelentése" + intro: "Ha szándékosan kikapcsolsz valamit, a karbantartás idejére nem kapsz riasztást." + steps: + - "A jobb felső sarokban nyisd meg a profilod menüjét, és kattints a „Karbantartás” pontra." + - "Kattints a „Karbantartás ütemezése” gombra, és töltsd ki a „Cím” mezőt, például: router csere." + - "Az „Érintett monitorok” mezőben válaszd ki, mit kapcsolsz ki." + - "A „Stratégia” mezőben válaszd az „Egyetlen karbantartási ablak” lehetőséget, add meg a kezdést és a véget, majd kattints a „Mentés” gombra." + - title: "Kevesebb téves riasztás" + intro: "Egy új monitor már az első sikertelen próbánál riaszt, ezt lazíthatod." + steps: + - "Nyisd meg a monitort a bal oldali listában, és kattints a „Szerkesztés” gombra." + - "Az „Újrapróbálkozás” mezőbe írj 2-t vagy 3-at." + - "Kattints a „Mentés” gombra. A monitor ezután „Függőben” állapotba kerül, és csak akkor riaszt, ha az újrapróbálkozások is sikertelenek." + - title: "Monitorok csoportba rendezése" + intro: "Sok monitornál a csoport és a címke segít eligazodni." + steps: + - "Kattints az „Új monitor hozzáadása” gombra, és a „Monitor típusa” mezőben válaszd a „Csoport” lehetőséget, például: Otthon." + - "A többi monitornál a „Szerkesztés” oldalon a „Monitor csoport” mezőben válaszd ki ezt a csoportot." + - "A „Címkék” résznél színes címkét is adhatsz egy monitornak, például: család." + - "Ha a csoport egy tagja leáll, maga a csoport is leállást mutat." + - title: "A fiókod védelme" + intro: "A kétfaktoros hitelesítéssel a jelszó mellett a telefonod is kell a belépéshez." + steps: + - "A profilod menüjében kattints a „Beállítások” pontra, majd a „Biztonság” lapra." + - "Kattints a „2FA beállítások” gombra, írd be a „Jelenlegi jelszó” mezőbe a jelszavad, és kattints a „2FA engedélyezése” gombra." + - "Olvasd be a QR-kódot a telefonod hitelesítő appjával, írd be a hatjegyű kódot, és kattints a „Token ellenőrzése” gombra." + - "Ha a kód jó, kattints a „Mentés” gombra." + faq: + - q: "Szól az Uptime Kuma, ha maga a doboz áll le?" + a: "Nem tud: az Uptime Kuma a dobozon fut, ezért ha a doboz vagy az otthoni internet leáll, vele együtt áll le. Más eszközöket és weboldalakat figyel." + - q: "Hogyan állítok le egy monitort egy időre?" + a: "Nyisd meg a monitort, kattints a „Szünet” gombra, és erősítsd meg. Ha újra figyelnéd, kattints a „Folytatás” gombra." + - q: "Kikapcsolhatom a bejelentkezést?" + a: "Ne tedd. A „Biztonság” lapon a „Hitelesítés tiltása” után bárki, aki ismeri a status.DOMAIN címet, belép és mindent átírhat." + - q: "Meddig őrzi az előzményeket?" + a: "Alapból 365 napig. A „Beállítások” „Vizsgálatok előzményei” lapján ezt rövidebbre is veheted, ha kevesebb helyet használnál." + - q: "Miért angol egy-egy felirat?" + a: "Az Uptime Kuma a böngésződ nyelvét követi, és ahol nincs magyar fordítás, angolul ír. A nyelvet a „Beállítások” „Megjelenés” lapján a „Nyelv” mezőben válthatod." + + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: http + port: 3001 + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'Watch your services and websites' + app_info: + tagline: 'Service monitoring - it tells you when something stops working' + use_cases: + - 'Watch whether your websites and services answer' + - 'HTTP, TCP, DNS, ping and other checks' + - 'Alerts by e-mail, Telegram, Discord and more' + - 'A public status page for the people who use them' + - 'Clear graphs of how much of the time things were up' + first_steps: + - 'Open status.DOMAIN in your browser' + - 'Create the admin account the first time you open it' + - 'Add your first monitor (your own website, for example)' + - 'Set up alerts (e-mail, Telegram and so on)' + - 'Optional: build a public status page' + guide: + sections: + - title: "Announce maintenance" + intro: "When you switch something off on purpose, you get no alerts during the maintenance." + steps: + - "In the top right corner, open your profile menu and select „Maintenance”." + - "Select „Schedule Maintenance” and fill in its „Title”, for example: new router." + - "In „Affected Monitors”, choose what you are switching off." + - "In „Strategy”, choose „Single Maintenance Window”, set the start and the end, then select „Save”." + - title: "Fewer false alerts" + intro: "A new monitor alerts at the first failed check, and you can relax that." + steps: + - "Open the monitor in the list on the left and select „Edit”." + - "In „Retries”, type 2 or 3." + - "Select „Save”. The monitor then goes to „Pending” first and alerts only if the retries fail too." + - title: "Sort monitors into groups" + intro: "With many monitors, groups and tags help you find your way." + steps: + - "Select „Add New Monitor” and in „Monitor Type” choose „Group”, for example: Home." + - "For the other monitors, on the „Edit” page choose this group in „Monitor Group”." + - "In the „Tags” part you can also give a monitor a coloured tag, for example: family." + - "If one member of the group goes down, the group itself shows as down." + - title: "Protect your account" + intro: "With two factor authentication you need your phone as well as your password to sign in." + steps: + - "In your profile menu select „Settings”, then the „Security” page." + - "Select „2FA Settings”, type your password into „Current Password” and select „Enable 2FA”." + - "Scan the QR code with the authenticator app on your phone, type the six-digit code and select „Verify Token”." + - "If the code is right, select „Save”." + faq: + - q: "Does Uptime Kuma tell me when the box itself goes down?" + a: "It cannot: Uptime Kuma runs on the box, so when the box or the home internet goes down, it goes down too. It watches other devices and websites." + - q: "How do I stop a monitor for a while?" + a: "Open the monitor, select „Pause” and confirm. To watch it again, select „Resume”." + - q: "Can I switch off the sign-in?" + a: "Do not. After „Disable Auth” on the „Security” page, anyone who knows the status.DOMAIN address gets in and can change everything." + - q: "How long does it keep the history?" + a: "365 days by default. On the „Monitor History” page of „Settings” you can make it shorter to use less space." + - q: "Why is some text in English?" + a: "Uptime Kuma follows your browser's language and shows English where a translation is missing. You can change it in „Language” on the „Appearance” page of „Settings”." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' diff --git a/templates/uptime-kuma/steps/255cf237ddd88b55.yml b/templates/uptime-kuma/steps/255cf237ddd88b55.yml new file mode 100644 index 0000000..8487243 --- /dev/null +++ b/templates/uptime-kuma/steps/255cf237ddd88b55.yml @@ -0,0 +1,57 @@ +# Uptime Kuma - Szolgáltatás és weboldal monitoring +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (file-based) +# RAM: ~50M (mem_limit: 384M) | Pi-compatible: Yes +# 256M -> 384M (R-994, 2026-10-17: the 2026-10-13 sizing run measured a peak of 227 MB = 89 % of the old 256M; the new limit keeps it at or under ~70 %). +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) + +services: + uptime-kuma: + image: louislam/uptime-kuma:2.5.7 + container_name: uptime-kuma + restart: unless-stopped + environment: + - TZ=Europe/Budapest + # R-613 (measured 2026-09-23): without this, 2.x parks at its SETUP-DATABASE wizard on first boot + # — the main server never starts, and the probe's any-answer check calls it healthy. With it the + # database choice is made (SQLite in /app/data) and the real server starts: /api/entry-page + # answers entryPage, /metrics 401. An install that already chose keeps its data/db-config.json. + - UPTIME_KUMA_DB_TYPE=sqlite + volumes: + - uptime_kuma_data:/app/data + networks: + - traefik-public + deploy: + resources: + limits: + memory: 384M + # uptime-kuma:2 ships its healthcheck as a compiled binary at /app/extra/healthcheck (WORKDIR /app); + # the old override pointed at a v1-era /app/extra/healthcheck.mjs that does NOT exist in v2, so the + # container stayed permanently "unhealthy" → Traefik withheld the route → the URL 404'd although the + # app was running (F5). Use the correct binary and the image's own timing (180s first-boot window). + healthcheck: + test: ["CMD", "extra/healthcheck"] + interval: 30s + timeout: 30s + retries: 5 + start_period: 180s + labels: + - "traefik.enable=true" + - "traefik.http.routers.uptime-kuma.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + # R-753: this app reads the LEFTMOST X-Forwarded-For entry, which a stranger writes once traefik keeps the + # tunnel's chain — so its chain is removed here (it then reads traefik's X-Real-Ip or peer; never forgeable). + - "traefik.http.middlewares.uptime-kuma-xff.headers.customrequestheaders.X-Forwarded-For=" + - "traefik.http.routers.uptime-kuma.middlewares=uptime-kuma-xff" + - "traefik.http.routers.uptime-kuma.entrypoints=websecure" + - "traefik.http.routers.uptime-kuma.tls=true" + - "traefik.http.routers.uptime-kuma.tls.certresolver=letsencrypt" + - "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001" + +volumes: + uptime_kuma_data: + +networks: + traefik-public: + external: true diff --git a/templates/vaultwarden/.felhom.yml b/templates/vaultwarden/.felhom.yml index dbffa86..4136f3e 100644 --- a/templates/vaultwarden/.felhom.yml +++ b/templates/vaultwarden/.felhom.yml @@ -15,7 +15,7 @@ subdomain: "vault" slug: "vaultwarden" # catalog_since: the date THIS repo last changed this app's pinned images. Any commit that # changes an image: line must set this to the same day (see CLAUDE.md). -catalog_since: "2026-10-06" +catalog_since: "2026-11-03" # --- Resource hints (displayed on deploy screen) --- resources: @@ -237,6 +237,7 @@ i18n: # gated by scripts/check-test-record.py. An image: move without a proven entry here is refused. update_ladder: - {"from": {"vaultwarden": "vaultwarden/server:1.36.0-alpine"}, "to": {"vaultwarden": "vaultwarden/server:1.37.4-alpine"}, "digest": {"vaultwarden": "sha256:19ea2b669945d842dadc3d500f2d6a795866a003330f59a47b9634658bae98bb"}, "verdict": "proven", "tested_at": "2026-10-06T11:49:21Z", "harness_version": 5, "evidence": "felhom.eu/documentation/audits/r890-instructions-2026-10-06/bench", "box_evidence": "felhom.eu/documentation/audits/r890-instructions-2026-10-06/box/vaultwarden", "memory_peak_pct": 16.3, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "memory_basis": "anon", "memory_cgroup_peak_pct": 22.3} + - {"from": {"vaultwarden": "vaultwarden/server:1.37.4-alpine"}, "to": {"vaultwarden": "vaultwarden/server:1.37.5-alpine"}, "digest": {"vaultwarden": "sha256:bbe684a02d6b0db54256ff88eac9754f4519284a7b26314afc241fd7d0918191"}, "verdict": "security_fix", "tested_at": "2026-11-02T23:15:11Z", "harness_version": null, "evidence": null, "box_evidence": "documentation/audits/security-2026-11-02/walks/vaultwarden", "memory_peak_pct": 11.0, "marks": {"files_may_change": false, "needs_person": null, "memory_tight": false}, "security": {"ids": ["GHSA-x9cq-f669-vrr4", "GHSA-9pjj-f9g5-3x4c"], "advisory": "https://github.com/dani-garcia/vaultwarden/releases/tag/1.37.5", "fixed_in": "1.37.5"}, "seed": "read_back", "memory_basis": "box_soak"} # --- Security watch (felhom.eu R-1303): where each image's security notices are published --- # One line per image in docker-compose.yml; the grammar is in NEW-APP-CHECKLIST.md (1.10). diff --git a/templates/vaultwarden/docker-compose.yml b/templates/vaultwarden/docker-compose.yml index 0e0b9da..3011c51 100644 --- a/templates/vaultwarden/docker-compose.yml +++ b/templates/vaultwarden/docker-compose.yml @@ -19,7 +19,7 @@ services: vaultwarden: - image: vaultwarden/server:1.37.4-alpine + image: vaultwarden/server:1.37.5-alpine container_name: vaultwarden restart: unless-stopped environment: diff --git a/templates/vaultwarden/steps/96175b7591653982.felhom.yml b/templates/vaultwarden/steps/96175b7591653982.felhom.yml new file mode 100644 index 0000000..2bbc8e5 --- /dev/null +++ b/templates/vaultwarden/steps/96175b7591653982.felhom.yml @@ -0,0 +1,233 @@ +# ============================================================================= +# .felhom.yml — App metadata for felhom-controller +# ============================================================================= +# Place alongside docker-compose.yml in each stack directory: +# /opt/docker/stacks/vaultwarden/.felhom.yml +# ============================================================================= + +# --- Display info (shown on dashboard) --- +display_name: "Vaultwarden" +description: "Jelszókezelő (Bitwarden-kompatibilis)" +category: "security" +subdomain: "vault" + +# --- Asset slug --- +slug: "vaultwarden" +# catalog_since: the date THIS repo last changed this app's pinned images. Any commit that +# changes an image: line must set this to the same day (see CLAUDE.md). +catalog_since: "2026-10-06" + +# --- Resource hints (displayed on deploy screen) --- +resources: + mem_request: "50M" + mem_limit: "256M" + pi_compatible: true + 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: "vault" + required: true + locked_after_deploy: true + description: "Az alkalmazás aldomainje" + + - env_var: ADMIN_TOKEN + label: "Admin panel token" + type: secret + generate: "hex:32" + description: "Token az admin panel eléréséhez (https://vault./admin)" + locked_after_deploy: true + + - env_var: SIGNUPS_ALLOWED + label: "Regisztráció engedélyezése" + type: select + default: "false" + options: + - value: "false" + label: "Nem – csak meghívással (ajánlott)" + - value: "true" + label: "Igen – bárki regisztrálhat, aki ismeri a címet" + description: "Alapból lezárva: a család tagjait az admin panelen hívod meg (lásd Első lépések). Nyitott regisztrációval bárki fiókot nyithat, aki kitalálja a címet." + locked_after_deploy: false + +# --- App info (info page content) --- +app_info: + tagline: 'Jelszókezelő - Bitwarden kompatibilis, a saját szerveren' + docs_url: 'https://github.com/dani-garcia/vaultwarden/wiki' + + use_cases: + - 'Jelszavak biztonságos tárolása és automatikus kitöltése' + - 'Bitwarden kliensek teljes kompatibilitása (böngésző, mobil, asztali)' + - 'Jelszavak megosztása családtagokkal szervezeten belül' + - 'Kétfaktoros hitelesítés (TOTP) kódok tárolása' + - 'Biztonságos jegyzetek és bankkártya adatok tárolása' + + first_steps: + - 'Nyisd meg a vault.DOMAIN/admin címet, és lépj be az admin panel tokenjével (Beállítások → Automatikusan generált értékek)' + - 'A „Users" fülön az „Invite User" mezőben hívd meg a saját és a családtagok e-mail címét. Ha a telepítéskor nem engedélyezted a regisztrációt (ez az ajánlott), csak meghívott cím nyithat fiókot' + - 'Nyisd meg a vault.DOMAIN címet, válaszd a „Create account" lehetőséget a meghívott címmel, és adj meg erős mesterjelszót' + - 'Telepítsd a Bitwarden bővítményt a böngésződbe' + - 'Telepítsd a Bitwarden alkalmazást a telefonodra' + - 'Importáld a meglévő jelszavaidat (Chrome, Firefox, LastPass, stb.)' + guide: + checked_version: "1.37.4-alpine" + sections: + - title: "A Bitwarden bővítmény és app összekötése a dobozzal" + intro: "A Bitwarden appok alapból a Bitwarden saját szerverét keresik, ezért egyszer meg kell adnod a dobozod címét." + steps: + - "Nyisd meg a Bitwarden bővítményt vagy appot, és menj a bejelentkező képernyőre." + - "A szerverválasztóban válaszd a saját üzemeltetésű (self-hosted) szervert." + - "Szervercímnek írd be: vault.DOMAIN, és mentsd el." + - "Jelentkezz be az e-mail címeddel és a mesterjelszavaddal." + - title: "Új jelszó mentése" + intro: "Amit a széfbe teszel, azt a bővítmény és az app is látja, és kitölti helyetted." + steps: + - "A vault.DOMAIN oldalon a „Széfek” menüben kattints az „Új” gombra, és válaszd a „Bejelentkezés” pontot." + - "Töltsd ki az „Elem neve”, a „Felhasználónév” és a „Jelszó” mezőt." + - "A „Webhely” mezőbe írd be az oldal címét: a bővítmény ezen az oldalon ajánlja fel a kitöltést." + - "Kattints a „Mentés” gombra." + - title: "Kétlépcsős bejelentkezés bekapcsolása" + intro: "A mesterjelszó mellé egy telefonos kód is kell, így egy ellopott jelszó önmagában kevés." + steps: + - "A bal oldali menüben nyisd meg a „Beállítások”, majd a „Biztonság” pontot." + - "Válaszd a „Kétlépcsős bejelentkezés” lapot." + - "A „Hitelesítő alkalmazás” sorában kattints a „Kezelés” gombra, és kövesd az ablak lépéseit." + - "Utána kattints a „Helyreállító kód megtekintése” gombra, és írd le a kódot papírra." + - title: "Gyenge jelszavak keresése" + intro: "A Vaultwarden megmutatja, melyik jelszavad gyenge, és melyiket használod több helyen." + steps: + - "A bal oldali menüben nyisd meg a „Jelentések” pontot." + - "Válaszd a „Gyenge jelszavak jelentés” vagy az „Újrahasznált jelszavak jelentés” lehetőséget." + - "Cseréld le a jelszót az érintett oldalon, majd írd át a széfben is." + faq: + - q: "Elfelejtettem a mesterjelszót. Mit tehetek?" + a: "Senki nem tudja visszaállítani, a doboz sem: a széfedet a mesterjelszó titkosítja. Írd le, és tartsd biztos helyen." + - q: "Miért nem tud regisztrálni a családtagom?" + a: "A regisztráció alapból le van zárva. Hívd meg az admin panelen az első lépések szerint, vagy a vezérlőpulton, a Vaultwarden „Beállítások” fülén engedélyezd a regisztrációt." + - q: "Megoszthatok jelszót a családdal?" + a: "Igen, egy szervezettel. A „Széfek” oldal szűrőjében kattints az „Új szervezet” pontra, majd a szervezet „Tagok” oldalán hívd meg a családtagokat." + - q: "Kell fiókot nyitnom a Bitwardennél?" + a: "Nem. A Vaultwarden a te dobozodon futó szerver, a Bitwarden appok és bővítmények ehhez kapcsolódnak." + - q: "Hol vannak a jelszavaim, és van róluk mentés?" + a: "A dobozon, titkosítva. A mentésükről a Vaultwarden „Adatok és mentés” fülén tájékozódhatsz." + + +# --- Controller-side health probe --- +healthcheck: + checks: + - type: api + port: 80 + path: "/alive" + expect: + status: 200 + +# --- App-email mapping (apps → in-controller shim → hub → Resend) --- +# When app-email is on (global toggle + this app's per-app toggle), the controller injects +# the relay SMTP settings: host = the on-box shim, port = 2525, From = vaultwarden@felhom.eu. +# Vaultwarden uses STARTTLS to the shim and accepts its self-signed cert +# (SMTP_ACCEPT_INVALID_CERTS/HOSTNAMES). SMTP_USERNAME/SMTP_PASSWORD are intentionally left +# unset — the shim accepts no-auth on the Docker network and holds no Resend key. +smtp_mapping: + host_var: SMTP_HOST + port_var: SMTP_PORT + security_var: SMTP_SECURITY + security_value: starttls + from_var: SMTP_FROM + from_name_var: SMTP_FROM_NAME + from_local: vaultwarden + extra: + SMTP_ACCEPT_INVALID_CERTS: "true" + SMTP_ACCEPT_INVALID_HOSTNAMES: "true" + # Boot-gate for Vaultwarden's strict SMTP validation (campaign finding F1, 2026-07-06): + # the image errors out when SMTP_HOST/SMTP_FROM are defined-but-empty, so the compose + # default is _ENABLE_SMTP=false and this injection flips it on with the rest of the group. + _ENABLE_SMTP: "true" + +# --- English copy (localisation slice 5, R-560) -------------------------------------------- +# The Hungarian above is UNCHANGED. A box on English reads this block field by field; a missing +# field shows the Hungarian one; a controller older than 0.257.0 ignores the block entirely. +i18n: + en: + description: 'A password manager (Bitwarden-compatible)' + app_info: + tagline: 'A password manager - Bitwarden-compatible, on your own server' + use_cases: + - 'Keep your passwords safely and let them fill themselves in' + - 'Every Bitwarden client works (browser, phone, desktop)' + - 'Share a password with the household inside an organisation' + - 'Keep two-factor (TOTP) codes' + - 'Keep secure notes and card details' + first_steps: + - 'Open vault.DOMAIN/admin and sign in with the admin panel token (Settings -> Automatically generated values)' + - 'On the "Users" tab, use "Invite User" to invite your own and the household''s e-mail addresses - unless you allowed sign-ups at the installation (not recommended), only an invited address can sign up' + - 'Open vault.DOMAIN, choose "Create account" with the invited address, and set a strong master password' + - 'Install the Bitwarden extension in your browser' + - 'Install the Bitwarden app on your phone' + - 'Import the passwords you already have (Chrome, Firefox, LastPass and so on)' + guide: + sections: + - title: "Connect the Bitwarden extension and app to your box" + intro: "By default the Bitwarden apps look for Bitwarden's own server, so you enter your box's address once." + steps: + - "Open the Bitwarden extension or app and go to the sign-in screen." + - "In the server choice, pick the self-hosted server." + - "As the server address, type vault.DOMAIN and save it." + - "Sign in with your e-mail address and your master password." + - title: "Save a new password" + intro: "Whatever you put into the vault, the extension and the app see too, and fill in for you." + steps: + - "On vault.DOMAIN, in the „Vaults” menu, select „New” and choose „Login”." + - "Fill in the „Item name”, „Username” and „Password” fields." + - "In the „Website” field, type the address of the site: the extension offers to fill in on that site." + - "Select „Save”." + - title: "Turn on two-step login" + intro: "Besides the master password, a code from your phone is needed too, so a stolen password alone is not enough." + steps: + - "In the menu on the left, open „Settings”, then „Security”." + - "Choose the „Two-step login” tab." + - "In the „Authenticator app” row, select „Manage” and follow the steps in the window." + - "Then select „View recovery code” and write the code down on paper." + - title: "Find weak passwords" + intro: "Vaultwarden shows which of your passwords are weak and which you use in more than one place." + steps: + - "In the menu on the left, open „Reports”." + - "Choose „Weak passwords” or „Reused passwords”." + - "Change the password on the site concerned, then change it in the vault too." + faq: + - q: "I forgot my master password. What can I do?" + a: "Nobody is able to reset it, not even the box: your master password encrypts your vault. Write it down and keep it somewhere safe." + - q: "Why can my family member not sign up?" + a: "Signing up is closed by default. Invite them in the admin panel as the first steps say, or allow sign-ups on the dashboard, on Vaultwarden's „Settings” tab." + - q: "Can I share a password with the family?" + a: "Yes, with an organisation. In the filter of the „Vaults” page, select „New organization”, then invite the family on the organisation's „Members” page." + - q: "Do I need an account with Bitwarden?" + a: "No. Vaultwarden is a server running on your box, and the Bitwarden apps and extensions connect to it." + - q: "Where are my passwords, and are they backed up?" + a: "On the box, encrypted. For their backup, look at the „Data and backup” tab of Vaultwarden." + deploy_fields: + - env_var: DOMAIN + label: 'Domain' + description: 'The server domain name' + - env_var: SUBDOMAIN + label: 'Subdomain' + description: 'The subdomain this app answers on' + - env_var: ADMIN_TOKEN + label: 'Admin panel token' + description: 'The token that opens the admin panel (https://vault./admin)' + - env_var: SIGNUPS_ALLOWED + label: 'Allow sign-ups' + description: 'Closed by default: you invite the household from the admin panel (see First steps). With sign-ups open, anybody who guesses the address can sign up.' + options: + - value: 'false' + label: 'No - by invitation only (recommended)' + - value: 'true' + label: 'Yes - anybody who knows the address can sign up' diff --git a/templates/vaultwarden/steps/96175b7591653982.yml b/templates/vaultwarden/steps/96175b7591653982.yml new file mode 100644 index 0000000..0e0b9da --- /dev/null +++ b/templates/vaultwarden/steps/96175b7591653982.yml @@ -0,0 +1,77 @@ +# Vaultwarden - Password Manager (Bitwarden-compatible) +# Domain: ${SUBDOMAIN}.${DOMAIN} +# Database: None (SQLite, built-in) +# RAM: ~50MB (mem_limit: 256M) | Pi-compatible: Yes +# +# Environment variables: +# DOMAIN - Your domain (e.g., demo-felhom.eu) +# ADMIN_TOKEN - Admin panel token (auto-generated) +# SIGNUPS_ALLOWED - "false" by default (R-512): only invited addresses can register +# +# First-time setup (invite-first; settings are read-only after install): +# 1. Open https://${SUBDOMAIN}.${DOMAIN}/admin with the generated ADMIN_TOKEN +# 2. Invite the household's addresses (Users → Invite User; works without mail) +# 3. Visit https://${SUBDOMAIN}.${DOMAIN} and create the account with an invited address +# +# Clients: +# Use any Bitwarden client (desktop, mobile, browser extension) +# Set server URL to: https://${SUBDOMAIN}.${DOMAIN} + +services: + vaultwarden: + image: vaultwarden/server:1.37.4-alpine + container_name: vaultwarden + restart: unless-stopped + environment: + - DOMAIN=https://${SUBDOMAIN}.${DOMAIN} + # R-512: registration is CLOSED by default. A stranger who guesses vault. must not be able to + # open an account. The household is invited from the admin panel; measured 2026-09-15 on + # 1.36.0-alpine with SMTP off: stranger register 400, admin invite 200, invited register 200. + - SIGNUPS_ALLOWED=${SIGNUPS_ALLOWED:-false} + - ADMIN_TOKEN=${ADMIN_TOKEN:-} + - WEBSOCKET_ENABLED=true + - TZ=Europe/Budapest + # App-email (managed relay). Injected by the controller only when app-email is on + # (global + per-app); see .felhom.yml smtp_mapping. + # TRAP (campaign finding F1, 2026-07-06): Vaultwarden treats a defined-but-EMPTY env var as + # "set" — with SMTP_HOST/SMTP_FROM both defined-empty its config validation errors out and + # the container crash-loops. The whole SMTP group is therefore gated by _ENABLE_SMTP + # (default false = validation skipped, mail off); the controller's app-email injection flips + # it to true via smtp_mapping.extra. Note: a config.json saved from the admin panel would + # override these env values — not applicable to fresh deploys. + - _ENABLE_SMTP=${_ENABLE_SMTP:-false} + - SMTP_HOST=${SMTP_HOST:-} + - SMTP_PORT=${SMTP_PORT:-587} + - SMTP_SECURITY=${SMTP_SECURITY:-off} + - SMTP_FROM=${SMTP_FROM:-} + - SMTP_FROM_NAME=${SMTP_FROM_NAME:-} + - SMTP_ACCEPT_INVALID_CERTS=${SMTP_ACCEPT_INVALID_CERTS:-false} + - SMTP_ACCEPT_INVALID_HOSTNAMES=${SMTP_ACCEPT_INVALID_HOSTNAMES:-false} + volumes: + - vaultwarden_data:/data + networks: + - traefik-public + deploy: + resources: + limits: + memory: 256M + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:80/alive"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s + labels: + - "traefik.enable=true" + - "traefik.http.routers.vaultwarden.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)" + - "traefik.http.routers.vaultwarden.entrypoints=websecure" + - "traefik.http.routers.vaultwarden.tls=true" + - "traefik.http.routers.vaultwarden.tls.certresolver=letsencrypt" + - "traefik.http.services.vaultwarden.loadbalancer.server.port=80" + +volumes: + vaultwarden_data: + +networks: + traefik-public: + external: true