Skip to content

Releases

homelab-atlas v0.4.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 13:28
v0.4.0
8d977a2

The backup scripts, smoke test and CI now follow homelab-ares, the template for the homelab stacks. A backup holds
the same data as before, in a new layout.

Added

  • Label org.honeybeartech.atlas.backup.skip: container paths a backup never archives and a restore refuses to
    write. Every app that mounts the media library carries /media, and SABnzbd also /incomplete.
  • Every backup also records NETWORKS (the address range of each network the stack uses but doesn't create; none
    today) and VERSION (the release it was taken with).
  • CI logs in to Docker Hub with a read-only token when the repository has one (pulls stay anonymous until then), and
    logs out before the smoke test starts any container. A .gitlab-ci.yml for a GitLab mirror of the repository
    (inactive until that mirror is set up).

Changed

  • scripts/backup.sh archives every read-write volume or bind mount of every service except the Docker socket,
    anonymous volumes and the mounts in its backup.skip label, instead of a fixed list of /config and /scripts.
    With the new labels that is exactly what it archived before: the apps' /config, Recyclarr's /config and
    Radarr's /scripts, never /media or /incomplete. A mount inside another mount is archived on its own.
  • Archives are named <service>--<path>.tar.gz (such as radarr--config.tar.gz, was radarr-config.tar.gz), and
    the MANIFEST is tab-separated with the archive's name in its first column. scripts/restore.sh restores what
    the MANIFEST lists, and refuses a skipped mount.
  • org.honeybeartech.atlas.backup.exclude takes comma-separated paths at any depth inside a data mount (it was
    entries directly inside /config or /scripts, separated by spaces). The apps' /config/MediaCover stays as it
    is. A path outside every data mount, or with .. or a pattern character, still fails the backup and the restore
    before anything stops.
  • The smoke test derives its throwaway settings from .env.example (every *_ROOT and *_PATH a temporary
    directory owned by PUID:PGID with mode 0755 as on a host, *_PREFIX, *_VOLUME and *_NETWORK names of its
    own, so never the real SONARR4K_CONFIG_VOLUME), and checks that skipped mounts and excluded paths are neither
    archived nor overwritten, and that every backup has a NETWORKS file. It still never reads .env or
    autoheal.env.
  • The smoke test runs on ubuntu-24.04 (amd64) instead of ubuntu-latest.

Security

  • Every service drops every Linux capability (cap_drop: [ALL]) and runs with no-new-privileges. The
    linuxserver.io apps add back only CHOWN, DAC_OVERRIDE, SETUID, SETGID and KILL, which their init needs
    to take ownership of /config, start the app as PUID:PGID and stop it cleanly; every other service runs with
    none. recyclarr, dozzle and autoheal now have a read-only root filesystem too (socket-proxy already had one;
    recyclarr and dozzle get /tmp in memory). The table is in docs/security.md#hardening.
  • The policy check enforces it: new rules no-new-privileges and cap-drop, cap-add now fails only on a
    capability outside Docker's default set, and a new rule devices refuses host devices mapped into a container.

Upgrading

  • Backups made before this version can only be restored with the previous release's scripts/restore.sh
    (v0.3.1): check out that tag to restore one. Such a backup has no VERSION file; the new restore.sh refuses it
    without changing anything. Backups made from now on use the new format.
  • Nothing to change in .env, and the systemd units are the same as in 0.3.x (they already use the best-effort
    I/O class), so they don't need re-installing.
  • Data whose files have unexpected owners can fail with "permission denied" (EACCES) after the upgrade: a service
    that runs without capabilities can only reach what it owns. The linuxserver.io apps still take ownership of
    /config as they start. Recyclarr runs as PUID:PGID with no capabilities, so RECYCLARR_CONFIG_PATH must
    belong to that user, as it should already.

Verify this release: docs/verifying-releases.md

homelab-atlas v0.3.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 18:37
v0.3.1
9f1798f

Two settings the stack needs to take over Atlas as it runs today.

Upgrading

  • Set SABNZBD_INCOMPLETE_PATH in .env (required): the host directory SABnzbd uses as its temporary download
    folder, mounted at /incomplete. Point it at wherever SABnzbd assembles downloads now (its Temporary Download
    Folder
    setting).
  • Sonarr 4K moves to port 8988: point Recyclarr, the indexer manager and anything else using 8888 at 8988. If
    its config volume doesn't follow CONFIG_VOLUME_PREFIX, name it with SONARR4K_CONFIG_VOLUME.

Changed

  • SABnzbd mounts SABNZBD_INCOMPLETE_PATH (a new, required setting) at /incomplete, its temporary download folder,
    which can be on another disk or share than MEDIA_ROOT.
  • Sonarr 4K is published on port 8988 (was 8888), and its config volume can have a name of its own
    (SONARR4K_CONFIG_VOLUME, optional; default <CONFIG_VOLUME_PREFIX>sonarr4k).

Verify this release: docs/verifying-releases.md

homelab-atlas v0.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 18:05
v0.3.0
da7591e

Nightly backups copied off the host, Dependabot updates for the linuxserver.io images, and Dozzle as an agent of a
central Dozzle hub.

Upgrading

  • Dozzle has no web UI on this host any more. It runs as an agent on port 7007 for a Dozzle hub on another host
    (the hub lists this host as <address>:7007). Point anything that linked to port 4040 at the hub instead.
  • Scheduled backups are optional and need setting up once: a backup server, an SSH key, backup.env and the
    systemd units, as docs/installing.md describes. Without them nothing
    changes: scripts/backup.sh still works by hand.
  • The app images are the same app versions as 0.2.0 (rebuilt base packages only), so no database migrates. Take a
    backup first as usual (docs/upgrading.md); it now stops each app only while its own data is
    copied.

Added

  • Scheduled backups: scripts/scheduled-backup.sh takes a backup, copies it to another machine with rsync
    (SHA256SUMS last, so a cut-off copy is refused by the restore), keeps the newest 3 here and 30 there, and
    reports to an Uptime Kuma push monitor. Settings in the optional, gitignored backup.env
    (backup.env.example); systemd user units in deploy/systemd/ run it nightly at 03:00
    (docs/installing.md).
  • A service's org.honeybeartech.atlas.backup.exclude label lists entries in its /config or /scripts that
    backups leave out and restores keep. Radarr, Sonarr (both instances) and Lidarr leave out their posters
    (/config/MediaCover), which they download again.

Changed

  • scripts/backup.sh stops each service only while its own data is copied, and compresses after it has started
    again (with pigz when it's installed), instead of stopping the whole stack for the whole backup.
  • Dozzle runs as an agent (dozzle agent, port 7007) for the homelab's Dozzle hub on another host, which shows
    every host's logs in one web UI, and moves to 11.3.2, the hub's version. Atlas no longer has a Dozzle web UI of
    its own on port 4040.
  • Radarr and Radarr 4K, Sonarr and Sonarr 4K, Lidarr, SABnzbd and socket-proxy move to linuxserver.io's newest
    builds of the same app versions: rebuilt base packages, no database migration.
  • linuxserver.io images are pinned by their version-<app version> tag (socket-proxy by its bare version)
    instead of the -lsNNN build tag, which Dependabot can't follow. Dependabot now proposes their new versions
    and rebuilds; a rebuild (same tag, new digest, nothing else changed) is merged automatically once the checks
    pass, like patch and minor updates.
  • Dependabot checks for updates every Monday at 06:00 UTC.

Verify this release: docs/verifying-releases.md

homelab-atlas v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 17:48
v0.2.0
e0ac6ec

autoheal: a service whose health check fails is restarted automatically, through a socket proxy that can only
list, restart and stop containers.

Upgrading

  • Two new services, autoheal and socket-proxy, start with the rest (docker compose up -d); they need no
    settings. For restart notices, create autoheal.env from autoheal.env.example (mode 600) with a webhook
    URL; without it, restarts are only logged.
  • Take a backup first as usual (docs/upgrading.md); no app version changes in this release.

Added

  • autoheal restarts any service whose health check fails (every app, Dozzle, Recyclarr and the proxy carry the
    autoheal: "true" label), and can post each restart to a webhook such as a Discord channel (WEBHOOK_URL in
    the optional, gitignored autoheal.env). It reaches Docker only through socket-proxy, which allows listing,
    inspecting, restarting and stopping containers and nothing else, on an internal network with no published
    port. Both are labelled policy exceptions (latest for autoheal, whose only maintained tag it is;
    docker-socket for the proxy).
  • The smoke test makes a container unhealthy and checks that autoheal restarts it, and retries the stack's start
    once when a service fails for a network reason (Recyclarr's first fetch from GitHub).
  • scripts/backup.sh also backs up autoheal.env.

Changed

  • The health checks' start period is 10 minutes (was 3), so autoheal can't restart an app in the middle of a
    slow database migration after an upgrade; a healthy app is still reported within seconds.

Verify this release: docs/verifying-releases.md

homelab-atlas v0.1.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 13:22
v0.1.0
581af78

The first release: the Atlas stack as a Compose file, every image pinned by version tag and digest, with the
checks, backups and release signing around it.

Added

  • compose.yaml with 10 services: Radarr 6.4.4 and Sonarr 4.0.20 (each with a 4K instance), Lidarr 3.1.0,
    Bazarr 1.6.2 (with a 4K instance), SABnzbd 5.1.3, Recyclarr 8.7.3 and Dozzle 11.3.0. Each app's config
    lives in a Docker volume named <CONFIG_VOLUME_PREFIX><app>, so an existing installation's volumes can be
    adopted; media is mounted at /media from MEDIA_ROOT.
  • A health check for every service, so docker compose ps and docker compose up --wait show a broken app.
    Needs Docker Engine 25 and Compose 2.24 or later.
  • .env.example listing every setting the stack reads; no secrets go in it.
  • scripts/backup.sh and scripts/restore.sh: back up every service's /config and /scripts mount and
    .env with a manifest and checksums (readable only by the user who ran it), and restore them after
    verifying the checksums and asking first. docs/rebuilding.md brings the stack back on
    a new host from a backup.
  • 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.atlas.allow.<rule>
    label gives the reason), and the CycloneDX SBOM of the images attached to each release.
  • CI on every change: ruff, yamllint, shellcheck, actionlint, gitleaks over the whole history, the checker's
    tests (90 % branch-coverage floor), the policy check, and a smoke test that starts the whole stack, waits
    until every service is healthy, then backs it up, changes it, restores it and checks the result. CodeQL,
    OpenSSF Scorecard, dependency review and a DCO check also run.
  • Dependabot for the images, the Python tools and the Actions; patch and minor updates merge automatically
    once every required check passes, major updates wait for the maintainer.
  • A weekly vulnerability scan of every pinned image (Trivy), reported to code scanning.
  • Releases (this one first) carry a source archive, the SBOM, SHA256SUMS signed keylessly with cosign, and
    SLSA build provenance (docs/verifying-releases.md).
  • Project policies (SECURITY.md, CONTRIBUTING.md, GOVERNANCE.md, SUPPORT.md, CODE_OF_CONDUCT.md)
    and docs: quick start, installing, upgrading, rebuilding, architecture, interfaces, security requirements,
    assurance case, dependencies and roadmap.

Security

  • Known vulnerabilities at release: 155 open findings from the image scan, all in upstream images with no
    fixed build yet (the .NET runtimes bundled into Radarr, Lidarr and Sonarr; Python packages in SABnzbd and
    Bazarr), none reachable from the internet. Triage and mitigations:
    docs/dependencies.md.

Verify this release: docs/verifying-releases.md