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.
47 lines
1.9 KiB
INI
47 lines
1.9 KiB
INI
# Quadlet unit: qBittorrent in FrankBook-Pro's podman machine.
|
|
#
|
|
# Install path is INSIDE the machine VM:
|
|
# /home/core/.config/containers/systemd/qbittorrent.container
|
|
#
|
|
# Joins gluetun's network namespace (Network=gluetun.container) so all
|
|
# BitTorrent egress exits the WireGuard tunnel. It publishes NO port of its
|
|
# own — WebUI 8080 and torrent port 6881 publish on the gluetun unit.
|
|
#
|
|
# Data layout (plan-locked, verbatim paths):
|
|
# /config <- /Volumes/COMPLETE/qbittorrent-data (durable config)
|
|
# /Volumes/COMPLETE + /Volumes/INCOMPLETE same-path virtiofs passthroughs —
|
|
# the seeded qBittorrent.conf references those literal paths:
|
|
# Session\DefaultSavePath=/Volumes/COMPLETE
|
|
# Session\TempPath=/Volumes/INCOMPLETE/incomplete (in-progress disk)
|
|
# category "Finished Torrents" -> /Volumes/COMPLETE/Finished Torrents
|
|
# (the human review dir; nothing automated ever writes to entropy).
|
|
#
|
|
# WebUI password: generated fresh at provisioning by the deploy handler,
|
|
# stored machine-local only (conf + /home/core/Containers/qbittorrent/env).
|
|
[Unit]
|
|
Description=qBittorrent behind gluetun (FrankBook-Pro)
|
|
Wants=gluetun.service
|
|
After=gluetun.service
|
|
|
|
[Container]
|
|
ContainerName=qbittorrent
|
|
Network=gluetun.container
|
|
# Pinned to the last 4.x line: Readarr's retired qB client requires the
|
|
# qB 4.x login response (HTTP 200, body "Ok."); qB 5.x answers 204 with an
|
|
# empty body, which fails Readarr's auth check. All other clients accept 4.x.
|
|
Image=lscr.io/linuxserver/qbittorrent:4.6.7@sha256:55f15d44396315551f87294a176efae733b16e283f38980308e46073950257c6
|
|
Environment=PUID=0
|
|
Environment=PGID=0
|
|
Environment=TZ=America/Los_Angeles
|
|
Environment=UMASK_SET=022
|
|
Volume=/Volumes/COMPLETE/qbittorrent-data:/config
|
|
Volume=/Volumes/COMPLETE:/Volumes/COMPLETE
|
|
Volume=/Volumes/INCOMPLETE:/Volumes/INCOMPLETE
|
|
|
|
[Service]
|
|
TimeoutStartSec=900
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|