Repository navigation
Releases
homelab-atlas v0.4.0
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) andVERSION(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.ymlfor a GitLab mirror of the repository
(inactive until that mirror is set up).
Changed
scripts/backup.sharchives every read-write volume or bind mount of every service except the Docker socket,
anonymous volumes and the mounts in itsbackup.skiplabel, instead of a fixed list of/configand/scripts.
With the new labels that is exactly what it archived before: the apps'/config, Recyclarr's/configand
Radarr's/scripts, never/mediaor/incomplete. A mount inside another mount is archived on its own.- Archives are named
<service>--<path>.tar.gz(such asradarr--config.tar.gz, wasradarr-config.tar.gz), and
theMANIFESTis tab-separated with the archive's name in its first column.scripts/restore.shrestores what
theMANIFESTlists, and refuses a skipped mount. org.honeybeartech.atlas.backup.excludetakes comma-separated paths at any depth inside a data mount (it was
entries directly inside/configor/scripts, separated by spaces). The apps'/config/MediaCoverstays 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*_ROOTand*_PATHa temporary
directory owned byPUID:PGIDwith mode 0755 as on a host,*_PREFIX,*_VOLUMEand*_NETWORKnames of its
own, so never the realSONARR4K_CONFIG_VOLUME), and checks that skipped mounts and excluded paths are neither
archived nor overwritten, and that every backup has aNETWORKSfile. It still never reads.envor
autoheal.env. - The smoke test runs on
ubuntu-24.04(amd64) instead ofubuntu-latest.
Security
- Every service drops every Linux capability (
cap_drop: [ALL]) and runs withno-new-privileges. The
linuxserver.io apps add back onlyCHOWN,DAC_OVERRIDE,SETUID,SETGIDandKILL, which their init needs
to take ownership of/config, start the app asPUID:PGIDand 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/tmpin memory). The table is in docs/security.md#hardening. - The policy check enforces it: new rules
no-new-privilegesandcap-drop,cap-addnow fails only on a
capability outside Docker's default set, and a new ruledevicesrefuses 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 noVERSIONfile; the newrestore.shrefuses 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
/configas they start. Recyclarr runs asPUID:PGIDwith no capabilities, soRECYCLARR_CONFIG_PATHmust
belong to that user, as it should already.
Verify this release: docs/verifying-releases.md
homelab-atlas v0.3.1
Two settings the stack needs to take over Atlas as it runs today.
Upgrading
- Set
SABNZBD_INCOMPLETE_PATHin.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 followCONFIG_VOLUME_PREFIX, name it withSONARR4K_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 thanMEDIA_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
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.envand the
systemd units, as docs/installing.md describes. Without them nothing
changes:scripts/backup.shstill 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.shtakes a backup, copies it to another machine with rsync
(SHA256SUMSlast, 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, gitignoredbackup.env
(backup.env.example); systemd user units indeploy/systemd/run it nightly at 03:00
(docs/installing.md). - A service's
org.honeybeartech.atlas.backup.excludelabel lists entries in its/configor/scriptsthat
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.shstops 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-lsNNNbuild 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
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,
autohealandsocket-proxy, start with the rest (docker compose up -d); they need no
settings. For restart notices, createautoheal.envfromautoheal.env.example(mode600) 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_URLin
the optional, gitignoredautoheal.env). It reaches Docker only throughsocket-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 (latestfor autoheal, whose only maintained tag it is;
docker-socketfor 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.shalso backs upautoheal.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
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.yamlwith 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/mediafromMEDIA_ROOT.- A health check for every service, so
docker compose psanddocker compose up --waitshow a broken app.
Needs Docker Engine 25 and Compose 2.24 or later. .env.examplelisting every setting the stack reads; no secrets go in it.scripts/backup.shandscripts/restore.sh: back up every service's/configand/scriptsmount and
.envwith 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 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.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,
SHA256SUMSsigned 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