diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d0d493..e771d2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## 2026-10-18 — homepage without the Docker socket (R-981); each app's own appdata folder in the privileges gate (R-1142) + +- **homepage** no longer mounts `/var/run/docker.sock`. It gave the login-less start page full control of Docker (= of + the guest), and no Felhom feature used it: on demo-hp the rendered `docker.yaml` is empty and no container carries + `homepage.*` labels (felhom.eu `audits/night-2026-10-18/P1/r981-homepage-before.txt`). The page, its services, + bookmarks and the resources/search widgets work as before; only a hand-written `docker.yaml` would lose its container + status. The use case „Docker integráció" is removed (HU + EN). No image moved (no `catalog_since` change). +- **`scripts/privilege-allowlist.json` v2** — byte-identical to controller v0.329.0's: `entries` is EMPTY (no app has an + exception), and `appdata_folders` names an app's folder under `${HDD_PATH}/appdata/` when it is not the app's name + (one entry: `paperless-ngx → paperless`; the survey found no other). +- **`check-privileges.py`** judges a `${HDD_PATH}` bind against the app's OWN folder (`appdata//`), as the box + does — app A binding app B's folder, the whole `appdata/`, a look-alike name or the slug where a folder is listed are + refused; a folder entry that is not one name fails the gate. Decoys (`test_gate_decoys.py` `privileges_cases`): seven + new cases; the homepage-entry cases now run on a test list carrying the old entry, and the homepage socket on the REAL + list is a FACT (refused). Red-proof: root back at `${HDD_PATH}/appdata` → four R-1142 decoys convict the gate + (felhom.eu `audits/night-2026-10-18/P1/redproof-catalog-gate-r1142.txt`). +- **Order:** this commit is pushed BEFORE controller v0.329.0 (which refuses the old homepage template); an older + controller accepts this one. + ## 2026-10-17 — the privileges gate: the early warning for the box's catalog allow-list (R-971, operator decision D2 = A) - New gate `privileges` (`scripts/check-privileges.py`, `--fast`: the hook and CI). Since controller v0.328.0 the BOX diff --git a/REPORT.md b/REPORT.md index 189418d..8997efa 100644 --- a/REPORT.md +++ b/REPORT.md @@ -1,11 +1,11 @@ -# REPORT — the privileges gate (R-971, operator decision D2 = A) (2026-10-17) +# REPORT — 2026-10-18 (night): homepage without the Docker socket; each app's own appdata folder in the privileges gate -Written in ASD-STE100 Simplified Technical English. Session report: felhom.eu `REPORT-agent-allowlist-rotation-2026-10-17.md`. +**In plain words.** The start page app (homepage) no longer gets control of Docker — nothing in Felhom used it. The +app-list check now refuses a template that reaches another app's data folder, the same way the box does. -- New gate `privileges` (`scripts/check-privileges.py`, stdlib, `--fast`): every template and ladder step is judged with - the classes controller v0.328.0 refuses on the box. The box is the authority; this is the early warning. -- `scripts/privilege-allowlist.json`: a byte-identical copy of the controller's list (one entry: homepage's read-only - socket, bound to its image and healthcheck); checked against the sibling clone here and from the controller's tests. -- Decoys in `test_gate_decoys.py` (`privileges`), red-proved; the stdlib reader equals PyYAML on all 123 files. -- Survey: nothing in any class except homepage's socket (felhom.eu `audits/agent-allowlist-rotation-2026-10-17/P2/survey.md`). -- Template changes: none. The drill repo was used for the 9201 proof and is back to the live tree. +- `templates/homepage/docker-compose.yml`: the socket mount is gone (R-981); `.felhom.yml`: the „Docker integration" + use case removed (HU + EN). +- `scripts/privilege-allowlist.json` v2 = controller v0.329.0's list: no entries; `appdata_folders: {paperless-ngx: paperless}`. +- `scripts/check-privileges.py`: the `${HDD_PATH}` root is `appdata//` (R-1142); 7 new decoys. +- Gates: `check-privileges.py` rc=0 (123 files); `privileges_cases` 0 fails; red-proof recorded. +- Live proof and the night's other work: felhom.eu `REPORT-night-2026-10-18.md`. diff --git a/scripts/check-privileges.py b/scripts/check-privileges.py index 14499c8..8e84e88 100644 --- a/scripts/check-privileges.py +++ b/scripts/check-privileges.py @@ -15,7 +15,8 @@ THE CLASSES (the same setting strings as the controller's — a mismatch makes t privileged, cap_add, device, device_cgroup_rule, network_mode, pid, ipc, uts, userns_mode, cgroup, cgroup_parent, runtime, isolation, security_opt (except no-new-privileges), sysctl, volumes_from, gpus, device_request (deploy reservations), provider, post_start / pre_stop, build, extends_file, env_file outside the stack dir, bind (a host path -outside ${HDD_PATH} / ${USERDATA_PATH} / ${IMPORT_PATH}, the Docker socket anywhere, mount propagation), volume +outside ${HDD_PATH}/appdata/ / ${USERDATA_PATH} / ${IMPORT_PATH}, the Docker socket anywhere, +mount propagation; the folder is the app's name unless the list's appdata_folders names it — R-1142), volume (driver / driver_opts / external / name), config_file / secret_file outside the stack dir, include, and `interpolated ` for a ${VAR} inside any of the privileged keys. An allowed setting holds only while its service runs the entry's image repository with the image's own entrypoint and command. @@ -345,19 +346,36 @@ def root_led(raw): return False -def valid_roots(env): +def one_segment(s): + return s not in ("", ".", "..") and not any(ch in s for ch in "/\\$") + + +def appdata_folder(app, folders): + """The app's own folder under ${HDD_PATH}/appdata/ (R-1142) — as the box's privpolicy.AppdataFolder.""" + if app in folders: + return folders[app] + return app if one_segment(app) else "" + + +def valid_roots(env, app="", folders=None): out = [] for r in ROOT_VARS: v = env.get(r, "") if v and v.startswith("/") and os.path.normpath(v) == v and v != "/" and not has_dotdot(v) and v.startswith(DRIVE_NAMESPACE): - # as the box: under HDD_PATH only appdata/ is a root (backups/ holds the recovery units with app secrets) - out.append(v + "/appdata" if r == "HDD_PATH" else v) + if r == "HDD_PATH": + # as the box: under HDD_PATH only appdata/ is a root (backups/ holds the recovery units with app + # secrets), and in it only the app's OWN folder (R-1142) — appdata// is another app's files + f = appdata_folder(app, folders or {}) + if not f: + continue + v = v + "/appdata/" + f + out.append(v) return out -def violations(doc, env): +def violations(doc, env, app="", folders=None): out = [] - roots = valid_roots(env) + roots = valid_roots(env, app, folders) def add(svc, setting): out.append((svc, setting)) @@ -506,7 +524,13 @@ def main(argv): root = a.split("=", 1)[1] with io.open(os.path.join(root, ALLOWLIST), encoding="utf-8") as f: raw_list = f.read() - allowed = {(e["app"], e["service"], e["setting"]): e for e in json.loads(raw_list)["entries"]} + the_list = json.loads(raw_list) + allowed = {(e["app"], e["service"], e["setting"]): e for e in the_list["entries"]} + folders = the_list.get("appdata_folders") or {} + for a, f in folders.items(): + if not one_segment(f): + print("FAIL: %s: the appdata folder of %s is not one folder name: %r" % (ALLOWLIST, a, f)) + return 1 sibling = os.path.join(root, CONTROLLER_COPY) if os.path.exists(sibling): with io.open(sibling, encoding="utf-8") as f: @@ -530,7 +554,7 @@ def main(argv): except (YamlError, UnicodeDecodeError) as e: bad.append("%s: cannot be read (%s) — the box refuses a definition it cannot check" % (rel, e)) continue - for svc, setting in violations(doc, PLACEHOLDER_ENV): + for svc, setting in violations(doc, PLACEHOLDER_ENV, app, folders): where = "%s: %s%s" % (rel, (svc + ": ") if svc else "", setting) if (app, svc, setting) not in allowed: bad.append(where + " — not on the allow-list (scripts/privilege-allowlist.json)") diff --git a/scripts/copy_freeze/hu.json b/scripts/copy_freeze/hu.json index d8b91f9..8417329 100644 --- a/scripts/copy_freeze/hu.json +++ b/scripts/copy_freeze/hu.json @@ -1263,9 +1263,8 @@ "app_info.tagline": "Személyes kezdőlap - szolgáltatás státuszok és widgetek egy helyen", "app_info.use_cases[0]": "Összes szolgáltatás egy áttekinthető oldalon", "app_info.use_cases[1]": "Szolgáltatás állapot monitoring widgetek", - "app_info.use_cases[2]": "Docker integráció - automatikus szolgáltatás felfedezés", - "app_info.use_cases[3]": "Könyvjelzők és kedvenc oldalak", - "app_info.use_cases[4]": "Időjárás, rendszer erőforrás és egyéb widgetek", + "app_info.use_cases[2]": "Könyvjelzők és kedvenc oldalak", + "app_info.use_cases[3]": "Időjárás, rendszer erőforrás és egyéb widgetek", "deploy_fields[DOMAIN].description": "A szerver domain neve", "deploy_fields[DOMAIN].label": "Domain", "deploy_fields[SUBDOMAIN].description": "Az alkalmazás aldomainje", diff --git a/scripts/privilege-allowlist.json b/scripts/privilege-allowlist.json index 2bbfb21..c50cd8a 100644 --- a/scripts/privilege-allowlist.json +++ b/scripts/privilege-allowlist.json @@ -1,15 +1,8 @@ { - "version": 1, - "note": "R-971 (operator decision D2 = A, 2026-10-17). The box's catalog allow-list, compiled into the controller. Each entry allows ONE exact setting for ONE service of ONE app, only while that service runs the entry's image repository with the image's own entrypoint and command and the exact healthcheck named; a changed setting is a different one and is refused. The catalog's scripts/privilege-allowlist.json is a byte-identical copy for its CI gate. Survey: felhom.eu documentation/audits/agent-allowlist-rotation-2026-10-17/P2/survey.md", - "entries": [ - { - "app": "homepage", - "service": "homepage", - "setting": "bind /var/run/docker.sock -> /var/run/docker.sock ro", - "image": "ghcr.io/gethomepage/homepage", - "healthcheck": "[\"CMD\",\"wget\",\"--spider\",\"-q\",\"http://127.0.0.1:3000\"]", - "why": "the Docker widget and the docker service discovery list the household's containers and their state", - "doc": "https://gethomepage.dev/configs/docker/" - } - ] + "version": 2, + "note": "R-971 (operator decision D2 = A, 2026-10-17). The box's catalog allow-list, compiled into the controller. Each entry allows ONE exact setting for ONE service of ONE app, only while that service runs the entry's image repository with the image's own entrypoint and command and the exact healthcheck named; a changed setting is a different one and is refused. EMPTY since R-981 (2026-10-18): homepage's Docker socket was used by no Felhom feature and is gone, so no app has an exception. appdata_folders (R-1142): an app's bind root under ${HDD_PATH} is appdata//, the folder being its name unless listed here. The catalog's scripts/privilege-allowlist.json is a byte-identical copy for its CI gate. Survey: felhom.eu documentation/audits/agent-allowlist-rotation-2026-10-17/P2/survey.md and audits/night-2026-10-18/P1/", + "entries": [], + "appdata_folders": { + "paperless-ngx": "paperless" + } } diff --git a/scripts/test_gate_decoys.py b/scripts/test_gate_decoys.py index 15c5e1a..cafa9b8 100644 --- a/scripts/test_gate_decoys.py +++ b/scripts/test_gate_decoys.py @@ -69,7 +69,7 @@ COVERS = { "login-kind": "login_kind written only in a COMMENT, only inside the English i18n: block, or under ANOTHER mapping (resources:) - none is the field, each passes; vs the facts: an unknown value (`magic`), a wrong case (`EMAIL`), the key twice, and no templates/ at all (rc 3, never a pass); the three known values pass (controller 0.320.0)", "copy-i18n": "Hungarian edited in a COMMENT/README/display_name (label, not copy) vs a real frozen string changed; an English block that is not English, is not matched to a Hungarian twin, or rewrites a credential (R-560). A retrieval promise REGISTERED in ALLOWLIST_EN passes only for its own app+path+sentence with a real reason; an entry for another app, a rewritten sentence, a stale entry or a two-word reason convicts (R-594). Also the DEGRADED mode CI actually runs — PyYAML shadowed out, freeze only (R-595). THE USER GUIDE (2026-10-15): a download-source name only in a COMMENT or in docs_url passes; vs the facts - guide strings not frozen, checked_version in the English block, an empty steps list, an FAQ entry with no answer, an unquoted version, an English guide with no Hungarian one, more English sections than Hungarian, a different step count, and a source name in either language", "redis-persistence": "`--appendonly yes` only in a COMMENT, or only in a steps/ file (a tested step definition, not judged on purpose) - each passes; vs the facts: AOF in string form, in a flow list, in a block list, on a valkey image - each refused naming the app; image default (no command) and `--appendonly no` pass; no templates/ is rc 3 (R-1096)", - "privileges": "a dangerous key only in a COMMENT, `privileged: false`, `no-new-privileges:true`, a ${HDD_PATH} bind, the docker socket only in a comment, homepage's own allow-listed read-only socket - each passes; vs the facts: privileged true, cap_add, a host-root bind, a ${OTHER} bind, homepage's socket READ-WRITE, the same socket in ANOTHER app or under ANOTHER image or with an added entrypoint or a changed healthcheck, a second service extending it, a YAML merge key, a variable in a bind's options, gpus / provider / a privileged post_start, network_mode host, a driver_opts bind volume, a ${VAR} in a privileged key, the same in a steps/ file, an allow-list copy that differs from the controller's - each refused naming the setting; no templates/ is rc 3; and the stdlib reader equals PyYAML on every catalog file (R-971)", + "privileges": "a dangerous key only in a COMMENT, `privileged: false`, `no-new-privileges:true`, a ${HDD_PATH} bind, the docker socket only in a comment, homepage's read-only socket on a test list carrying its old entry - each passes; vs the facts: privileged true, cap_add, a host-root bind, a ${OTHER} bind, homepage's socket on the REAL list (R-981: no exception), app a binding app b's appdata folder or the whole appdata/ or a look-alike name, a folder entry that is a path (R-1142; paperless-ngx's listed appdata/paperless passes), homepage's socket READ-WRITE, the same socket in ANOTHER app or under ANOTHER image or with an added entrypoint or a changed healthcheck, a second service extending it, a YAML merge key, a variable in a bind's options, gpus / provider / a privileged post_start, network_mode host, a driver_opts bind volume, a ${VAR} in a privileged key, the same in a steps/ file, an allow-list copy that differs from the controller's - each refused naming the setting; no templates/ is rc 3; and the stdlib reader equals PyYAML on every catalog file (R-971)", "gate-decoys": "this suite, run as a gate of the full run (R-1115): every case above is a decoy of its own gate, and ONE case that stops convicting turns the whole run red - measured 2026-10-17, when the credential-token case had lost its premise (gokapi's login line removed by 326f846) the suite printed FAIL and exited 1; the copy-i18n credential cases now edit an EXISTING line, so a removed premise stops the suite (`edit` raises) instead of passing", } @@ -837,6 +837,13 @@ def privileges_cases(): " - homepage_config:/app/config\n - /var/run/docker.sock:/var/run/docker.sock:ro\n" " healthcheck:\n test: [\"CMD\", \"wget\", \"--spider\", \"-q\", \"http://127.0.0.1:3000\"]\n" "volumes:\n homepage_config:\n") + # The compiled list is EMPTY since R-981 (2026-10-18); the entry-binding rules are still exercised on a list + # that carries the old homepage entry, so a future entry is held to them. + hp_list = json.dumps({"version": 2, "entries": [{"app": "homepage", "service": "homepage", + "setting": "bind /var/run/docker.sock -> /var/run/docker.sock ro", + "image": "ghcr.io/gethomepage/homepage", + "healthcheck": json.dumps(["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000"], separators=(",", ":"))}], + "appdata_folders": {"paperless-ngx": "paperless"}}) def run(name, files, expect_rc, must=(), no_templates=False, list_body=None, controller_copy=None): global ran cat = os.path.join(ws, "cat") @@ -865,29 +872,38 @@ def privileges_cases(): run("DECOY: privileged: false", {"a/docker-compose.yml": compose(" privileged: false\n")}, 0) run("DECOY: no-new-privileges (a hardening)", {"a/docker-compose.yml": compose(" security_opt:\n - no-new-privileges:true\n")}, 0) run("DECOY: the docker socket only in a COMMENT", {"a/docker-compose.yml": compose(vol=" # - /var/run/docker.sock:/var/run/docker.sock\n")}, 0) - run("GENUINE: homepage's allow-listed read-only socket", {"homepage/docker-compose.yml": homepage}, 0) + run("GENUINE: homepage's allow-listed read-only socket", {"homepage/docker-compose.yml": homepage}, 0, list_body=hp_list) print("-- privileges: the facts (each MUST be refused)") run("FACT: privileged true", {"a/docker-compose.yml": compose(" privileged: true\n")}, 1, ("app: privileged true",)) run("FACT: cap_add", {"a/docker-compose.yml": compose(" cap_add: [SYS_ADMIN]\n")}, 1, ("cap_add SYS_ADMIN",)) run("FACT: the host root bound", {"a/docker-compose.yml": compose(vol=" - /:/host\n")}, 1, ("bind / -> /host rw",)) run("FACT: a bind through another variable", {"a/docker-compose.yml": compose(vol=" - ${OTHER}/x:/x\n")}, 1, ("bind ${OTHER}/x",)) - run("FACT: homepage's socket READ-WRITE", {"homepage/docker-compose.yml": homepage.replace("docker.sock:ro", "docker.sock")}, 1, ("docker.sock rw",)) - run("FACT: the allowed socket in ANOTHER app", {"glance/docker-compose.yml": homepage}, 1, ("glance/docker-compose.yml",)) + run("FACT: homepage's socket READ-WRITE", {"homepage/docker-compose.yml": homepage.replace("docker.sock:ro", "docker.sock")}, 1, ("docker.sock rw",), list_body=hp_list) + run("FACT: the allowed socket in ANOTHER app", {"glance/docker-compose.yml": homepage}, 1, ("glance/docker-compose.yml",), list_body=hp_list) run("FACT: network_mode host", {"a/docker-compose.yml": compose(" network_mode: host\n")}, 1, ("network_mode host",)) run("FACT: a driver_opts bind volume", {"a/docker-compose.yml": compose().replace("volumes:\n app_data:\n", "volumes:\n app_data:\n driver_opts:\n type: none\n o: bind\n device: /\n")}, 1, ("volume app_data driver_opts",)) run("FACT: a ${VAR} in a privileged key", {"a/docker-compose.yml": compose(" privileged: ${PRIV}\n")}, 1, ("interpolated privileged",)) run("FACT: privileged in a steps/ file", {"a/docker-compose.yml": compose(), "a/steps/0123456789abcdef.yml": compose(" privileged: true\n")}, 1, ("a/steps/0123456789abcdef.yml",)) - run("FACT: homepage's socket under ANOTHER image", {"homepage/docker-compose.yml": homepage.replace("ghcr.io/gethomepage/homepage", "docker.io/evil/homepage")}, 1, ("allowed only for image",)) - run("FACT: homepage's socket with an added entrypoint", {"homepage/docker-compose.yml": homepage.replace(" volumes:", " entrypoint: [sh, -c, id]\n volumes:", 1)}, 1, ("own entrypoint",)) + run("FACT: homepage's socket under ANOTHER image", {"homepage/docker-compose.yml": homepage.replace("ghcr.io/gethomepage/homepage", "docker.io/evil/homepage")}, 1, ("allowed only for image",), list_body=hp_list) + run("FACT: homepage's socket with an added entrypoint", {"homepage/docker-compose.yml": homepage.replace(" volumes:", " entrypoint: [sh, -c, id]\n volumes:", 1)}, 1, ("own entrypoint",), list_body=hp_list) run("FACT: gpus / a provider service / a privileged post_start", {"a/docker-compose.yml": compose(" gpus: all\n provider:\n type: model\n post_start:\n - command: id\n privileged: true\n")}, 1, ("gpus all", "provider", "post_start")) - run("FACT: a second service EXTENDS homepage (inherits the socket)", {"homepage/docker-compose.yml": homepage.replace("volumes:\n homepage_config:", " evil:\n image: evil/x:1\n extends:\n service: homepage\nvolumes:\n homepage_config:")}, 1, ("extends homepage",)) - run("FACT: homepage's healthcheck runs a shell", {"homepage/docker-compose.yml": homepage.replace('["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000"]', '["CMD-SHELL", "id"]')}, 1, ("healthcheck the list names",)) + run("FACT: a second service EXTENDS homepage (inherits the socket)", {"homepage/docker-compose.yml": homepage.replace("volumes:\n homepage_config:", " evil:\n image: evil/x:1\n extends:\n service: homepage\nvolumes:\n homepage_config:")}, 1, ("extends homepage",), list_body=hp_list) + run("FACT: homepage's healthcheck runs a shell", {"homepage/docker-compose.yml": homepage.replace('["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000"]', '["CMD-SHELL", "id"]')}, 1, ("healthcheck the list names",), list_body=hp_list) run("FACT: a YAML merge key (the box expands it, the reader does not)", {"a/docker-compose.yml": "x-base: &base\n privileged: true\n" + compose(" <<: *base\n")}, 1, ("anchor",)) run("FACT: the drive's backups/ through ${HDD_PATH} (not appdata/)", {"a/docker-compose.yml": compose(vol=" - ${HDD_PATH}/backups:/b\n")}, 1, ("bind /mnt/felhom-drives/check/felhom-data/backups",)) run("FACT: a variable in a bind's options", {"a/docker-compose.yml": compose(vol=" - ${HDD_PATH}/a:/a:${MODE}\n")}, 1, ("variable in its target or options",)) - run("GENUINE: homepage bumped to a new tag of the same image", {"homepage/docker-compose.yml": homepage.replace("homepage:v1.13.2", "homepage:v1.14.0")}, 0) + run("GENUINE: homepage bumped to a new tag of the same image", {"homepage/docker-compose.yml": homepage.replace("homepage:v1.13.2", "homepage:v1.14.0")}, 0, list_body=hp_list) run("FACT: the list copy differs from the controller's", {"a/docker-compose.yml": compose()}, 1, ("differs",), controller_copy=allow.replace("homepage", "glance")) run("FACT: no templates/ at all (nothing to judge)", {}, 3, ("nothing to judge",), no_templates=True) + # R-981: on the REAL list homepage's socket is refused like any other app's. + run("FACT: homepage's socket on the real list (R-981: no exception)", {"homepage/docker-compose.yml": homepage}, 1, ("docker.sock ro",)) + # R-1142: under ${HDD_PATH}/appdata/ an app reaches its OWN folder only. + run("FACT: app a binds app b's appdata folder (R-1142)", {"a/docker-compose.yml": compose(vol=" - ${HDD_PATH}/appdata/b:/config\n")}, 1, ("bind /mnt/felhom-drives/check/felhom-data/appdata/b",)) + run("FACT: a name that only STARTS like its own (R-1142)", {"a/docker-compose.yml": compose(vol=" - ${HDD_PATH}/appdata/a-other:/config\n")}, 1, ("appdata/a-other",)) + run("FACT: the whole appdata/ (R-1142)", {"a/docker-compose.yml": compose(vol=" - ${HDD_PATH}/appdata:/all\n")}, 1, ("appdata -> /all",)) + run("GENUINE: paperless-ngx's listed folder appdata/paperless (R-1142)", {"paperless-ngx/docker-compose.yml": compose(vol=" - ${HDD_PATH}/appdata/paperless/media:/m\n")}, 0) + run("FACT: paperless-ngx binds appdata/paperless-ngx (the slug, where a folder is listed)", {"paperless-ngx/docker-compose.yml": compose(vol=" - ${HDD_PATH}/appdata/paperless-ngx:/m\n")}, 1, ("appdata/paperless-ngx",)) + run("FACT: an appdata folder that is a path (R-1142)", {"a/docker-compose.yml": compose()}, 1, ("not one folder name",), list_body=allow.replace('"paperless-ngx": "paperless"', '"paperless-ngx": "../backups"')) # The stdlib reader against PyYAML on every catalog file (this suite needs PyYAML anyway). import importlib.util import yaml diff --git a/templates/homepage/.felhom.yml b/templates/homepage/.felhom.yml index 3a3d023..0fb446e 100644 --- a/templates/homepage/.felhom.yml +++ b/templates/homepage/.felhom.yml @@ -44,7 +44,6 @@ app_info: use_cases: - 'Összes szolgáltatás egy áttekinthető oldalon' - 'Szolgáltatás állapot monitoring widgetek' - - 'Docker integráció - automatikus szolgáltatás felfedezés' - 'Könyvjelzők és kedvenc oldalak' - 'Időjárás, rendszer erőforrás és egyéb widgetek' @@ -108,7 +107,6 @@ i18n: use_cases: - 'Every service on one page you can take in at a glance' - 'Widgets that show whether a service is up' - - 'Docker integration - services are found on their own' - 'Bookmarks and the sites you use most' - 'Weather, system load and other widgets' first_steps: diff --git a/templates/homepage/docker-compose.yml b/templates/homepage/docker-compose.yml index 3b115a0..293f431 100644 --- a/templates/homepage/docker-compose.yml +++ b/templates/homepage/docker-compose.yml @@ -18,9 +18,13 @@ services: # its services and widgets stayed empty. The page itself and the healthcheck's 127.0.0.1 are not # checked. With the box's own name listed, /api/services answers 200. - HOMEPAGE_ALLOWED_HOSTS=${SUBDOMAIN}.${DOMAIN} + # R-981 (2026-10-18): NO Docker socket. It gave this login-less page full control of Docker (= of the guest), and + # no Felhom feature used it: the rendered docker.yaml is empty, nothing on the box carries homepage.* labels + # (measured on demo-hp, felhom.eu audits/night-2026-10-18/P1/r981-homepage-before.txt). Without it the page, its + # services, bookmarks and the resources/search widgets work as before; only a hand-written docker.yaml would lose + # its container status. The box's allow-list has no exception any more (controller internal/privpolicy). volumes: - homepage_config:/app/config - - /var/run/docker.sock:/var/run/docker.sock:ro networks: - traefik-public deploy: