Closing the command-center security queue #70/#71/#72/#73/#74: rolling tags let a rebuild move under a running service with nobody approving it, and make a CVE audit ungradeable. 36 quadlet units across dankclaw, dankserver and frankbook-pro now carry tag@sha256; localhost/* builds stay exempt (their build is the pin). The pihole and copyparty pins pull the fixed builds; valkey 9.1.2 (already running) and redis 7.4.11 are pinned in place, vendor fixes TBD. New gate tests/quadlet_image_pins.bats: no unpinned registry image, no generator-rejected key anywhere. Three seams that pinned the old exact-tag law (frankbook readarr, open_webui, seerr) now require tag AND digest - strictly stronger. Quadlet Lifecycle docs: batch-abort law, entrypoint flags-only law, pin law.
33 lines
940 B
INI
33 lines
940 B
INI
# Quadlet unit: Sonarr in FrankBook-Pro's podman machine.
|
|
#
|
|
# Install path is INSIDE the machine VM:
|
|
# /home/core/.config/containers/systemd/sonarr.container
|
|
#
|
|
#
|
|
# Joins gluetun's network namespace: all egress exits through the WireGuard
|
|
# tunnel; 8989 publishes on the gluetun unit.
|
|
# Grab-only: no media binds (the TV library lives on dankserver's entropy
|
|
# disk, which the Mac never mounts); config migrated from dankserver's
|
|
# retired bare container.
|
|
[Unit]
|
|
Description=Sonarr (FrankBook-Pro)
|
|
Wants=gluetun.service
|
|
After=gluetun.service
|
|
|
|
[Container]
|
|
ContainerName=sonarr
|
|
Image=lscr.io/linuxserver/sonarr:latest@sha256:889dcc58c6aea859033985894b519b2e6b1e55d92527ed123f9f52e42ae7c97b
|
|
Environment=PUID=0
|
|
Environment=PGID=0
|
|
Environment=TZ=America/Los_Angeles
|
|
Environment=UMASK_SET=022
|
|
Volume=/Volumes/COMPLETE/sonarr-data:/config
|
|
Network=gluetun.container
|
|
|
|
[Service]
|
|
TimeoutStartSec=900
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|