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.
29 lines
823 B
INI
29 lines
823 B
INI
# Quadlet unit: Redis cache for RomM (rootless, boot-persistent).
|
|
#
|
|
# Install path on dankserver: ~/.config/containers/systemd/romm-redis.container
|
|
# Unit name: romm-redis.service (podman 5.x drops the container- prefix)
|
|
#
|
|
# The alias `redis` on dankserver_appnet is what makes REDIS_HOST=redis in
|
|
# the RomM unit resolve. No secrets: this unit takes no EnvironmentFile.
|
|
|
|
[Unit]
|
|
Description=RomM Redis cache container
|
|
After=network.target
|
|
|
|
[Container]
|
|
ContainerName=romm-redis
|
|
Image=docker.io/library/redis:7-alpine@sha256:858f009f9709ce576febc734aa78b8f6d624b82571f9ddb6bda4377c833b3499
|
|
Network=dankserver_appnet:alias=redis
|
|
Volume=/home/dank/Containers/romm/redis:/data
|
|
HealthCmd=redis-cli ping
|
|
HealthInterval=10s
|
|
HealthTimeout=5s
|
|
HealthRetries=3
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=default.target
|