Skip to content

Releases

homelab-helios v0.3.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 13:28
v0.3.0
cfedd78

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, in compose.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), and VERSION,
    the checkout's git describe, so a backup says which release it was taken with. The smoke test checks
    VERSION, and NETWORKS for 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.sh and scripts/restore.sh check every org.honeybeartech.helios.backup.exclude label 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.sh also lists, for each mount,
    the paths it leaves in place.
  • The smoke test owns each throwaway data directory by PUID:PGID with 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 a NETWORKS file.
  • docs/quickstart.md (Kometa Quickstart, the on-demand tool) is now docs/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 with no-new-privileges:true. Plex adds
    back CHOWN, DAC_OVERRIDE, SETUID, SETGID and KILL, Tautulli CHOWN, SETUID, SETGID and KILL;
    the others none.
  • AURA, Kometa, Kometa Quickstart, ImageMaid, the Dozzle agent and autoheal run with a read-only root filesystem
    (/tmp in memory where the image writes temporary files), as socket-proxy already did. Plex and Tautulli keep a
    writable one: LinuxServer.io's init would ignore PUID/PGID on a read-only root.
  • The policy check enforces it, as in homelab-ares: new rules no-new-privileges and cap-drop; cap-add now
    fails only on a capability outside Docker's default set; new rule devices (no host device mapped into a
    container; a GPU reservation under deploy.resources is allowed).

Verify this release: docs/verifying-releases.md

homelab-helios v0.2.2

Choose a tag to compare

@github-actions github-actions released this 13 Oct 19:12
v0.2.2
e40c30a

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
    allowed docker-socket exception; keep port 7007 on the LAN. A host that already runs a container named
    dozzle-agent outside the stack must remove it before docker 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 its monitor setting (none for Sonarr, false for Radarr, meant for items it adds) to every
    existing item its collections matched, so airing shows stopped being searched for. monitor_existing is now
    false for 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 logged Plex Error: No Items found in Plex, was reported as a Kometa Failure
    and sent an error notification, about six every night; with ignore_blank_results it'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 default User-Agent. Alerts now name the watch in their User-Agent.

Security

  • Kometa checks TLS certificates again. settings.verify_ssl: false turned certificate checks off for every
    HTTPS request Kometa made, including the ones that carry the TMDb, OMDb and MDBList API keys; both
    verify_ssl: false lines 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

Choose a tag to compare

@github-actions github-actions released this 10 Oct 15:31
v0.2.1
c7955eb

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 update main.
  • 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

Choose a tag to compare

@github-actions github-actions released this 10 Oct 12:44
v0.2.0
da71bdf

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.sh takes a backup, copies it to
    BACKUP_REMOTE with rsync (SHA256SUMS last, so a cut-off copy is refused on restore), keeps the newest
    BACKUP_KEEP (3) here and BACKUP_REMOTE_KEEP (14) there, and reports to an Uptime Kuma push monitor. Settings
    in the optional, gitignored backup.env (template backup.env.example); systemd user units in deploy/systemd/
    run it nightly at 01:00, before Kometa's run (docs/installing.md).
  • The org.honeybeartech.helios.backup.exclude label: 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
    downloaded assets/; the services re-create them after a rebuild
    (docs/rebuilding.md).

Changed

  • scripts/backup.sh stops 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 and scripts/restore.sh are unchanged.

Verify this release: docs/verifying-releases.md

homelab-helios v0.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 13:41
v0.1.0
0485ada

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.yml for 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 mirrors main and 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 the tools profile, so docker compose up -d doesn'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.yml and the four collection files it links), with every secret and
    host fact as a <<UPPER_SNAKE>> placeholder that Kometa fills from KOMETA_<UPPER_SNAKE>;
    kometa.env.example lists 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/ that config.yml doesn'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.md checks 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, or kometa/ 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_WEBHOOK secrets); it closes once the pin is the latest release again. scripts/kometa-validate.sh
    takes KOMETA_IMAGE to validate against another image.
  • CI job "Kometa config" (scripts/kometa-validate.sh, make kometa): validates kometa/ with the Kometa image
    pinned in compose.yaml and 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_CONFIG so Kometa never tries to rewrite config.yml (without it, a missing setting stops the
    run). Its secrets go in .env in its data directory, which Kometa loads itself, so they stay out of the
    container's environment. After a change to kometa/, 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 for linux/amd64, every service has a health check and the autoheal
    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 as PUID:PGID.
  • compose.gpu.yaml: the NVIDIA GPU for Plex as a device reservation, added on the host with COMPOSE_FILE.
  • plex.env.example for Plex's one-time claim token; IMAGEMAID_SCHEDULE, KOMETA_TIMES and the data paths in
    .env.example.
  • scripts/backup.sh leaves a mount that lies inside another one (Plex's cache inside its /config) out of the
    outer archive, and scripts/restore.sh leaves it in place; the smoke test can seed a throwaway data directory
    from tests/smoke/ (a placeholder config.yml for Kometa).
  • Documentation: quick start, installing, upgrading, rebuilding, architecture, interfaces, security
    requirements, assurance case, dependencies, roadmap and verifying releases.
  • .env.example with the settings the stack is expected to read, autoheal.env.example for autoheal's optional
    webhook, and a .gitignore that 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 as name: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's org.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.sh and scripts/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's org.honeybeartech.helios.backup.skip label
    (the media library, Plex's cache and transcode directory, logs) are never archived, and a restore refuses to write them.
    scripts/smoke-test.sh starts 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, SHA256SUMS signed 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 use next/og. Most of ImageMaid's 525 findings are in packages it never
    uses; Pillow is reachable only in its OVERLAYS_ONLY mode, which is off by default.

Verify this release: docs/verifying-releases.md