Repository navigation
Releases
homelab-helios v0.3.0
The backup scripts, smoke test and CI are aligned with homelab-ares, the template for the homelab stacks, and every
service is hardened as there. The backup's systemd units stay as they are (they got the best-effort I/O class in
0.2.1, so they don't need re-installing).
Upgrading
- Every service now runs without Linux capabilities and with
no-new-privileges; Plex and Tautulli add back only
the few their init needs, from Docker's default set (docs/security.md#hardening). Their data must be owned by
PUID:PGID, and the other services' data by the user they run as: a service that fails with "permission
denied" (EACCES) after the upgrade usually has data with an unexpected owner. Plex's GPU is unchanged (a
device reservation, incompose.gpu.yaml); check hardware transcoding after the upgrade, since CI has no GPU.
Added
- Each backup also holds
NETWORKS, the address range and gateway of every network the stack uses but doesn't
create (none today: Compose creates both of the stack's networks, so it holds only its header), andVERSION,
the checkout'sgit describe, so a backup says which release it was taken with. The smoke test checks
VERSION, andNETWORKSfor any network the stack doesn't create. - CI and the weekly image scan log in to Docker Hub with a read-only token when the repository has one
(DOCKERHUB_USERNAME,DOCKERHUB_TOKEN), so their pulls don't hit the runners' shared anonymous limit; without
it they pull anonymously, as before. The smoke test pulls every image first and logs out before any container
starts (GOVERNANCE.md).
Changed
scripts/backup.shandscripts/restore.shcheck everyorg.honeybeartech.helios.backup.excludelabel before
anything stops: each path must be a plain path strictly inside one of the service's data mounts, without..
or a pattern character (*?[\); otherwise both fail with every service still running. Plex's and Kometa's
labels pass unchanged, and back up exactly the same data as before.restore.shalso lists, for each mount,
the paths it leaves in place.- The smoke test owns each throwaway data directory by
PUID:PGIDwith mode 0755, as the directories are on a
host, instead of making them writable by everyone, so a service that needs more than that fails in CI rather
than at a deploy. It also checks that every backup has aNETWORKSfile. docs/quickstart.md(Kometa Quickstart, the on-demand tool) is nowdocs/kometa-quickstart.md, so it isn't
mistaken for the stack's quick start (docs/quick-start.md).
Security
- Every service drops every Linux capability (
cap_drop: [ALL]) and runs withno-new-privileges:true. Plex adds
backCHOWN,DAC_OVERRIDE,SETUID,SETGIDandKILL, TautulliCHOWN,SETUID,SETGIDandKILL;
the others none. - AURA, Kometa, Kometa Quickstart, ImageMaid, the Dozzle agent and autoheal run with a read-only root filesystem
(/tmpin memory where the image writes temporary files), as socket-proxy already did. Plex and Tautulli keep a
writable one: LinuxServer.io's init would ignorePUID/PGIDon a read-only root. - The policy check enforces it, as in homelab-ares: new rules
no-new-privilegesandcap-drop;cap-addnow
fails only on a capability outside Docker's default set; new ruledevices(no host device mapped into a
container; a GPU reservation underdeploy.resourcesis allowed).
Verify this release: docs/verifying-releases.md
homelab-helios v0.2.2
A pinned Dozzle agent joins the stack, Kometa runs about two hours shorter on most nights and checks TLS
certificates again, it stops unmonitoring shows and movies, and the NVIDIA driver stays out of unattended upgrades.
Added
- A Dozzle agent (
dozzle-agent:dozzle agent, port 7007, 11.3.2, the hub's version) for the homelab's Dozzle
hub on another host, which shows every host's logs in one web UI. It mounts the Docker socket read-only, an
alloweddocker-socketexception; keep port 7007 on the LAN. A host that already runs a container named
dozzle-agentoutside the stack must remove it beforedocker compose up -d. deploy/apt/51unattended-upgrades-nvidia, which keeps the NVIDIA driver out of unattended upgrades. An
unattended driver update without a reboot left Plex unable to start with the GPU ("driver/library version
mismatch") until the host was rebooted. The rebuild guide installs it and the DKMS driver it assumes; update the
driver by hand and reboot straight after.
Changed
- Kometa applies the TV Shows overlays (resolution and audio badges on shows, seasons and episodes) on Sundays
instead of every day, as Anime and Kid's TV Shows already did. Walking every episode for two badges was more
than half of each nightly run (about 1 h 55 min); a new episode or season now gets its badges within a week.
Fixed
- Kometa no longer unmonitors shows in Sonarr or movies in Radarr. With
monitor_existing: true, Kometa
applied itsmonitorsetting (nonefor Sonarr,falsefor Radarr, meant for items it adds) to every
existing item its collections matched, so airing shows stopped being searched for.monitor_existingis now
falsefor every Radarr and Sonarr connection, so Kometa leaves monitoring alone. - Kometa's Refresh Metadata collections no longer fail when nothing was released or aired in the last 7 days.
Each library with nothing new loggedPlex Error: No Items found in Plex, was reported as a Kometa Failure
and sent an error notification, about six every night; withignore_blank_resultsit's a warning. - The Kometa upstream watch's Discord alert is delivered: Discord refused it with 403 (Cloudflare error 1010)
because it carried urllib's defaultUser-Agent. Alerts now name the watch in theirUser-Agent.
Security
- Kometa checks TLS certificates again.
settings.verify_ssl: falseturned certificate checks off for every
HTTPS request Kometa made, including the ones that carry the TMDb, OMDb and MDBList API keys; both
verify_ssl: falselines are gone, so the default (verify) applies. Plex, Tautulli, Radarr and Sonarr are
reached over plain HTTP on the LAN, so nothing else changes.
Verify this release: docs/verifying-releases.md
homelab-helios v0.2.1
Backups stop each service for a fraction of the time, and the GitLab mirror updates main again.
Fixed
- The GitLab mirror job fetches into a bare repository: git refuses to fetch into the checked-out branch of a
non-bare one, so the job couldn't updatemain. - A backup copies a service's data several times faster, so the service is back sooner: the container that
archives it no longer has Docker's log driver also write the whole archive into its log, and the systemd unit
runs at the lowest best-effort I/O priority instead of the idle class, which waited behind every other disk user
on the host. On Helios the first scheduled backup copied Plex at 5 to 10 MB/s, keeping it stopped for 35
minutes, instead of the 90 MB/s measured by hand.
Verify this release: docs/verifying-releases.md
homelab-helios v0.2.0
Scheduled backups copied off the host, without what the services re-create, and shorter downtime while a
backup runs.
Added
- Scheduled backups copied off the host:
scripts/scheduled-backup.shtakes a backup, copies it to
BACKUP_REMOTEwith rsync (SHA256SUMSlast, so a cut-off copy is refused on restore), keeps the newest
BACKUP_KEEP(3) here andBACKUP_REMOTE_KEEP(14) there, and reports to an Uptime Kuma push monitor. Settings
in the optional, gitignoredbackup.env(templatebackup.env.example); systemd user units indeploy/systemd/
run it nightly at 01:00, before Kometa's run (docs/installing.md). - The
org.honeybeartech.helios.backup.excludelabel: paths inside a data mount that backups leave out and
restores leave in place. Plex leaves out its artwork (Metadata) and preview thumbnails (Media), Kometa its
downloadedassets/; the services re-create them after a rebuild
(docs/rebuilding.md).
Changed
scripts/backup.shstops one service at a time, only while it copies that service's data, and compresses the
copy after starting the service again (with pigz when it's installed), instead of stopping the whole stack for
the whole backup: Plex is down for minutes, not hours. The archives andscripts/restore.share unchanged.
Verify this release: docs/verifying-releases.md
homelab-helios v0.1.0
The first release: the Helios stack (Plex, Tautulli, AURA, Kometa and ImageMaid, with autoheal, and Kometa
Quickstart as an on-demand tool) as a Compose file, every image pinned by version tag and digest for
linux/amd64, with Kometa's configuration, health checks, backups and release signing around it.
Added
.gitlab-ci.ymlfor the copy of the repository on the maintainer's self-hosted GitLab. GitHub stays the
project's home and its Actions the required checks; on GitLab a scheduled job mirrorsmainand the tags from
GitHub (fast-forward only, with a project access token in a masked, protected CI/CD variable), and every
commit that arrives gets the checks that need no Docker daemon: ruff, yamllint, shellcheck, the unit tests
with the coverage floor, gitleaks over the whole history, actionlint and the Compose policy check.- Kometa Quickstart (
kometateam/quickstart), a web UI for building and validating Kometa configurations, as a
tool started on demand: it is in thetoolsprofile, sodocker compose up -ddoesn't start it and it isn't
restarted after a reboot (docker compose --profile tools up -d quickstart). It publishes 7171 for the LAN
and has no login; its data (QUICKSTART_CONFIG_PATH) holds the tokens entered in it
(docs/quickstart.md). The policy check, the image scan, the release SBOM, backups,
restores and the smoke test all include the tools; a backup skips a tool that has never been started. kometa/: Kometa's configuration (config.ymland the four collection files it links), with every secret and
host fact as a<<UPPER_SNAKE>>placeholder that Kometa fills fromKOMETA_<UPPER_SNAKE>;
kometa.env.examplelists them all. A test fails the build on any value under a credential, address or path
key that isn't such a placeholder, on a placeholder name Kometa reserves for its own settings, and on a file in
kometa/thatconfig.ymldoesn't link. The collection files that only tag or refresh items set
sync_mode: append, which Kometa requires for them.- docs/kometa.md: Kometa's placeholders and
.env, the CI check, the weekly upstream watch and
the safe upgrade path;docs/upgrading.mdchecks Kometa's configuration with the real values before starting it. - A weekly Kometa upstream watch (
.github/workflows/kometa-upstream-watch.yml,scripts/kometa_watch.py): when
Kometa has a release newer than the pinned one, orkometa/doesn't validate against the latest, it keeps one
issue, "Kometa upstream changes", up to date with the validation against the latest release, the release-note
bullets that name something our configuration uses, and the diff of the Kometa defaults it references. Unchanged
findings edit nothing; new ones update the issue with one comment and an optional alert (NTFY_URL,
DISCORD_WEBHOOKsecrets); it closes once the pin is the latest release again.scripts/kometa-validate.sh
takesKOMETA_IMAGEto validate against another image. - CI job "Kometa config" (
scripts/kometa-validate.sh,make kometa): validateskometa/with the Kometa image
pinned incompose.yamland the JSON schemas from the same release, with dummy values for the placeholders.
It fails on a schema error, when Kometa gives no result (it exits 0 without network), and on keys the schema
doesn't know (Kometa itself only reports those). Broken fixtures prove it fails. - Kometa reads
kometa/from the checkout: each file is mounted read-only over/config/<name>, with
KOMETA_READ_ONLY_CONFIGso Kometa never tries to rewriteconfig.yml(without it, a missing setting stops the
run). Its secrets go in.envin its data directory, which Kometa loads itself, so they stay out of the
container's environment. After a change tokometa/, recreate the container (docs/upgrading.md). compose.yaml: Plex, Tautulli, AURA, Kometa and ImageMaid, with autoheal behind a filtering socket proxy.
Every image is pinned by tag and digest forlinux/amd64, every service has a health check and theautoheal
label, and none of them is touched by a host auto-updater (com.centurylinklabs.watchtower.enable: "false").
Plex runs the version in its image (VERSION=docker) on the stack's network with only 32400 published.
AURA, Kometa and ImageMaid run asPUID:PGID.compose.gpu.yaml: the NVIDIA GPU for Plex as a device reservation, added on the host withCOMPOSE_FILE.plex.env.examplefor Plex's one-time claim token;IMAGEMAID_SCHEDULE,KOMETA_TIMESand the data paths in
.env.example.scripts/backup.shleaves a mount that lies inside another one (Plex's cache inside its/config) out of the
outer archive, andscripts/restore.shleaves it in place; the smoke test can seed a throwaway data directory
fromtests/smoke/(a placeholderconfig.ymlfor Kometa).- Documentation: quick start, installing, upgrading, rebuilding, architecture, interfaces, security
requirements, assurance case, dependencies, roadmap and verifying releases. .env.examplewith the settings the stack is expected to read,autoheal.env.examplefor autoheal's optional
webhook, and a.gitignorethat keeps settings,
service data, media, backups and keys out of the repository.- Project policies (
SECURITY.md,CONTRIBUTING.md,GOVERNANCE.md,SUPPORT.md,CODE_OF_CONDUCT.md),
CODEOWNERS, issue and pull request templates. scripts/check_compose.py: the stack's policy check (every image pinned asname:tag@sha256:<digest>, no
latest, no build, nothing privileged, no added capabilities, host network or PID namespace, no Docker
socket mount, a health check on every service, unless a service'sorg.honeybeartech.helios.allow.<rule>
label gives the reason), and the CycloneDX SBOM of the images for releases; tests with a 90 % branch-coverage
floor.scripts/backup.shandscripts/restore.sh: back up every service's read-write data mounts and the
settings files with a manifest and checksums (readable only by the user who ran it), and restore them after
verifying the checksums and asking first. Paths in a service'sorg.honeybeartech.helios.backup.skiplabel
(the media library, Plex's cache and transcode directory, logs) are never archived, and a restore refuses to write them.
scripts/smoke-test.shstarts the stack with throwaway settings, waits until every service is healthy, runs a
backup and restore round trip and checks that excluded paths are left alone.- CI on every change: ruff, yamllint, shellcheck, actionlint, gitleaks over the whole history, the checker's
tests, the policy check and the smoke test on an amd64 runner. CodeQL,
OpenSSF Scorecard, dependency review, a DCO check and a weekly image scan (Trivy,linux/amd64) also run. - Dependabot for the images, the Python tools and the Actions; patch, minor and major updates merge
automatically once every required check passes. A merge never deploys: a major version's release notes are
read before the redeploy (docs/upgrading.md). - A release workflow that publishes a source archive, the SBOM,
SHA256SUMSsigned keylessly with cosign,
and SLSA build provenance (docs/verifying-releases.md).
Security
- First triage of the image scan, recorded in docs/dependencies.md.
Every image is on its newest release, so no update fixes anything yet. AURA's critical Next.js finding isn't
reachable, because AURA doesn't usenext/og. Most of ImageMaid's 525 findings are in packages it never
uses; Pillow is reachable only in itsOVERLAYS_ONLYmode, which is off by default.
Verify this release: docs/verifying-releases.md