No description
  • Shell 81.8%
  • Dockerfile 18.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Koenig a6f853e5cf
All checks were successful
Build and publish image / build (push) Successful in 22m15s
Build and publish image / verify (push) Has been skipped
fix(vpn): drop broken nft oifname rule; blackhole killswitch route
Diagnosed on the user's node: uid-1001 traffic timed out although the tunnel
worked (root/uid-1002 through table 1234 got 301) and nft counters showed the
'meta skuid 1001 oifname != "wg0" drop' rule dropping 9 SYNs. This kernel
does not expose the output interface to nftables for locally generated
packets routed to a WireGuard device, so the rule dropped exactly the traffic
it was meant to permit.
- remove the oifname-based drop; keep only the IPv6 leak guard
- replace IPv4 leak protection with an 'unreachable default metric 1000'
  route in table 1234: a policy table without a matching route falls through
  to main (eth0), which the lab reproduces (301 leak without the fallback;
  unreachable with it)
- health/netcheck: check the blackhole route and rename the nft check
Verified in the lab: policy+nft without the oifname rule -> uid-1001 TCP 200.
2026-11-26 15:18:33 +00:00
.forgejo/workflows perf(image): trim ~300 MB — musl dupes, chrome locales, selective seerr copy 2026-11-25 15:39:50 +00:00
deploy docs(env): WIREGUARD_MTU example uses path MTU minus 60 2026-11-26 13:16:47 +00:00
rootfs fix(vpn): drop broken nft oifname rule; blackhole killswitch route 2026-11-26 15:18:33 +00:00
scripts feat: flare-tag helper, wired-health, External updates, build cleanup 2026-11-25 18:13:02 +00:00
tests fix(vpn): drop broken nft oifname rule; blackhole killswitch route 2026-11-26 15:18:33 +00:00
.containerignore feat: add tvstack all-in-one appliance 2026-11-21 14:57:48 +00:00
.gitignore feat: add tvstack all-in-one appliance 2026-11-21 14:57:48 +00:00
AGENTS.md fix(vpn): drop broken nft oifname rule; blackhole killswitch route 2026-11-26 15:18:33 +00:00
Containerfile feat(diag): tvstack-netcheck for the qBittorrent-VPN path 2026-11-26 13:29:14 +00:00
README.md fix(health): name the provider-drops-internet case explicitly 2026-11-26 13:55:46 +00:00
versions.env feat: add FlareSolverr as supervised service + Prowlarr indexer proxy 2026-11-25 11:01:04 +00:00

tvstack appliance

One OCI image that runs Seerr, Radarr, Sonarr, Prowlarr, qBittorrent, FlareSolverr and WireGuard on loopback, with Caddy as the only public listener. Caddy uses the Hetzner Cloud DNS API for ACME DNS-01, so a wildcard certificate is issued without an inbound challenge port. Built for Proxmox VE 9.1+ application containers (unprivileged LXC, /init as PID 1), and also runnable with rootless Podman.

flowchart LR
    user["browser"] -->|"443 HTTPS"| caddy["Caddy<br/>Hetzner DNS-01"]
    caddy -->|"127.0.0.1:5055"| seerr["Seerr"]
    caddy -->|"127.0.0.1:7878"| radarr["Radarr"]
    caddy -->|"127.0.0.1:9696"| prowlarr["Prowlarr"]
    caddy -->|"127.0.0.1:8080"| qbt["qBittorrent"]
    caddy -->|"127.0.0.1:8191"| flaresolverr["FlareSolverr"]
    caddy -->|"127.0.0.1:8989"| sonarr["Sonarr"]
    prowlarr -. "indexer proxy" .-> flaresolverr
    qbt -->|"uid 1001 -> table 1234"| wg["wg0"]
    wg --> vpn["WireGuard peer"]
    radarr -. "/data" .-> media[("downloads + library")]
    sonarr -. "/data" .-> media
    qbt -. "/data" .-> media

No Docker, no Compose, no systemd inside the image. s6-overlay is PID 1 and supervises each native process.

Quick start (Podman)

scripts/build.sh
scripts/load-local.sh
IMAGE=localhost/tvstack:dev scripts/smoke-test.sh

load-local.sh imports the Buildah image into Podman. CI pulls the published image instead, so it does not need this step.

For a local browser test with Caddy's internal CA:

mkdir -p /tmp/tvstack/config/{caddy,sonarr,radarr,prowlarr,seerr,qbittorrent}
mkdir -p /tmp/tvstack/data/{torrents,media}
podman run --rm -p 8080:80 -p 8443:443 \
  -v /tmp/tvstack/config:/config -v /tmp/tvstack/data:/data \
  -e TVSTACK_DOMAIN=smoke.test -e TLS_MODE=internal -e VPN_ENABLED=false \
  -e TVSTACK_QBT_USER=admin -e TVSTACK_QBT_PASSWORD=change-me \
  localhost/tvstack:dev

TVSTACK_DOMAIN=smoke.test with TLS_MODE=internal uses Caddy's local CA; add --resolve or a hosts entry for the service subdomains.

Configuration

All configuration is environment variables. No file inside the image needs editing.

Variable Default Meaning
TZ UTC Container timezone.
TVSTACK_DOMAIN required Base DNS name. Services default to <service>.<domain>.
TLS_MODE acme acme (Hetzner DNS-01) or internal (Caddy local CA).
ACME_EMAIL empty Required for TLS_MODE=acme.
HETZNER_API_TOKEN empty Required for TLS_MODE=acme. Hetzner Cloud API token from Console → Security → API tokens; not the retired legacy DNS API token.
ACME_CA Let's Encrypt Optional ACME directory override, e.g. staging.
SEERR_HOST seerr.$TVSTACK_DOMAIN Must be a subdomain of the base domain.
RADARR_HOST radarr.$TVSTACK_DOMAIN Same.
SONARR_HOST sonarr.$TVSTACK_DOMAIN Same.
PROWLARR_HOST prowlarr.$TVSTACK_DOMAIN Same.
QBITTORRENT_HOST qbt.$TVSTACK_DOMAIN Same.
FLARESOLVERR_HOST flaresolverr.$TVSTACK_DOMAIN Same. Status page only; no login.
SEERR_PORT / RADARR_PORT / SONARR_PORT / PROWLARR_PORT / QBITTORRENT_PORT / FLARESOLVERR_PORT 5055 / 7878 / 8989 / 9696 / 8080 / 8191 Loopback upstream ports.
TVSTACK_QBT_USER required qBittorrent WebUI login, seeded as a PBKDF2 hash on first boot. Log in at https://qbt.$TVSTACK_DOMAIN/.
TVSTACK_QBT_PASSWORD required qBittorrent WebUI password.
TVSTACK_JELLYFIN_URL / TVSTACK_JELLYFIN_USER / TVSTACK_JELLYFIN_PASSWORD empty When set, tvstack-setup logs Seerr into this Jellyfin server as admin and finishes first-run setup.
TVSTACK_TV_DIR / TVSTACK_MOVIES_DIR /data/media/tv / /data/media/movies Library root folders added to Sonarr/Radarr and Seerr on first boot.
VPN_ENABLED true qBittorrent is routed through WireGuard. Set false only for local testing.
WIREGUARD_PRIVATE_KEY empty WireGuard interface private key.
WIREGUARD_ADDRESSES 10.2.0.2/32 Interface address; IPv4 required.
WIREGUARD_DNS empty Required with VPN. Provider DNS IP(s) inside the tunnel. Replaces the container resolver; qBittorrent cannot use the LAN/ISP resolver.
WIREGUARD_PUBLIC_KEY empty Peer public key.
WIREGUARD_ENDPOINT empty host:port of the peer.
WIREGUARD_ALLOWED_IPS 0.0.0.0/0 Must include 0.0.0.0/0.
WIREGUARD_MTU wg-quick default (1420) Tunnel MTU. Lower it (1412/1380/1280) when DNS works but downloads stall.
WIREGUARD_PERSISTENT_KEEPALIVE 25 Keepalive seconds.
TVSTACK_LAN_CIDR auto LAN CIDR added to the qBittorrent policy table.
S6_KILL_GRACETIME 10000 s6 shutdown grace in milliseconds.
S6_SERVICES_GRACETIME 10000 s6 service shutdown grace in milliseconds.

Internal test switch: TVSTACK_RENDER_ONLY=1 renders configuration but does not bring up WireGuard. Do not set it in a deployment.

Caddy requests one wildcard certificate for *.$TVSTACK_DOMAIN and the apex. Every service host must be a subdomain of that base. Port 80 redirects to HTTPS; only 80/443 listen on the container network.

TLS / Hetzner

TLS_MODE=acme uses:

tls {
  dns hetzner {env.HETZNER_API_TOKEN}
  propagation_delay 30s
}

The image is built with github.com/caddy-dns/hetzner/v2, which manages records through the Hetzner Cloud DNS API. Create a Cloud API token, not a legacy DNS API token. The zone for TVSTACK_DOMAIN must exist in Hetzner DNS. No inbound port 80 is needed for DNS-01; port 80 is only the HTTP→HTTPS redirect.

For a lab, TLS_MODE=internal uses Caddy's local CA. The root CA is stored in /config/caddy/pki/authorities/local/root.crt.

WireGuard policy

qBittorrent runs as container UID 1001. wg0 is created with Table = 1234; an ip rule uidrange 1001-1001 table 1234 sends only UID 1001 through the tunnel. An nftables output chain drops any UID 1001 packet not leaving via wg0 (LAN and loopback excepted). The *arr apps and Seerr stay on the main table.

WIREGUARD_DNS is rendered into a set-dns helper that overwrites /etc/resolv.conf when wg0 comes up and restores the original file when it goes down; host routes to those DNS IPs use wg0. This intentionally makes the whole container use provider DNS, not just qBittorrent. There is no separate per-process resolver, so the qBittorrent tracker lookups cannot leak to the LAN/ISP resolver. resolvconf is not used because /etc/resolv.conf is a bind-mounted file in containers and its post-install cannot replace it.

qBittorrent is configured with:

[BitTorrent]
Session\Interface=wg0
Session\InterfaceName=wg0
Session\InterfaceAddress=<WIREGUARD_ADDRESSES without prefix>

[Preferences]
WebUI\Address=127.0.0.1
WebUI\Port=8080

The WebUI listener is independent of the BitTorrent interface binding; Caddy proxies https://qbt.$TVSTACK_DOMAIN/ to loopback. Verify from the container: curl http://127.0.0.1:8080/ should return the qBittorrent login page.

On first start the WebUI login from TVSTACK_QBT_USER/TVSTACK_QBT_PASSWORD is seeded into the container config, so https://qbt.$TVSTACK_DOMAIN/ accepts it immediately.

Persistent state

Path Contents
/config/caddy ACME account and certificates
/config/sonarr Sonarr database/config
/config/radarr Radarr database/config
/config/prowlarr Prowlarr database/config
/config/seerr Seerr database/config
/config/qbittorrent qBittorrent config and resume data
/config/flaresolverr FlareSolverr working dir (Chromium profile/cache)
/data/torrents qBittorrent download root
/data/media Radarr/Sonarr root folders; Jellyfin reads this

Mount /data as one filesystem. Radarr/Sonarr only hardlink/atomic-move when downloads and library are on the same filesystem.

Extra disks (host SSDs)

Bind-mount host directories into the CT with EXTRA_MOUNTS in deploy/tvstack.env — no raw device passthrough needed, works unprivileged. Mount the SSDs on the Proxmox node first, then e.g.:

# tvstack.env
EXTRA_MOUNTS="mp2=/srv/ssd1,mp=/data/ssd1 mp3=/srv/ssd2,mp=/data/ssd2 mp4=/srv/ssd3,mp=/data/ssd3"

deploy/proxmox-create.sh adds them as mpN mounts and chowns the host dirs to the app user (group-writable, so qBittorrent can use them too). Inside the CT they appear at /data/ssdN. The stack does not decide disk placement itself: set qBittorrent's download path (default /data/torrents) and each *arr root folder in the app's own settings. Keep downloads and the library on the same SSD if you want hardlinks.

First-boot auto-setup

tvstack-setup (s6 service) runs once after all apps are up and wires the stack together over loopback using per-app API keys seeded into each config.xml at first boot (stable across restarts):

  • Sonarr/Radarr: root folders (TVSTACK_TV_DIR, TVSTACK_MOVIES_DIR) and a qBittorrent download client (login from TVSTACK_QBT_USER/PASSWORD)
  • Prowlarr: Sonarr and Radarr added as applications with fullSync, so indexers you add in Prowlarr propagate automatically
  • Seerr: Radarr/Sonarr added as services; with TVSTACK_JELLYFIN_* set it also logs into Jellyfin as admin and marks setup initialized
  • FlareSolverr runs as a service, published at https://flaresolverr.$TVSTACK_DOMAIN/ (status page, no login); tvstack-setup registers it in Prowlarr as an indexer proxy — tag indexers with flaresolverr to route them through it

Progress is marked by /config/.tvstack-setup-done; each step is idempotent, so re-running is safe. Indexer definitions themselves are added in the Prowlarr UI (they need per-indexer credentials). Watch progress with pct exec <id> -- tail -f /proc/1/fd/1 or the service log.

Torrents stall while the VPN is enabled

qBittorrent (uid 1001) is routed through wg0 by policy rule and its sockets are bound to the tunnel address; everything else uses the LAN. If downloads never progress:

  1. tvstack-health inside the CT reports qBittorrent traffic routed via wg0 and WireGuard passes TCP traffic. A failing TCP check with a working DNS check is almost always an MTU blackhole — small packets pass, bulk TCP stalls. Set WIREGUARD_MTU in tvstack.env to 1412 (PPPoE), 1380 or 1280 (DS-Lite/LTE) and rerun the deploy script.
  2. Verify the tunnel by hand:
    pct exec <id> -- wg show wg0       # "latest handshake" must be seconds old
    # TCP/TLS as qBittorrent's uid (exercises the policy rule, no caps needed):
    pct exec <id> -- sh -c 'setpriv --reuid=1001 --regid=1000 --clear-groups \
      curl -s --max-time 10 -o /dev/null -w "%{http_code}\n" https://example.com/'
    
    A recent handshake plus a failing transfer is the MTU case: WireGuard adds 60 bytes, so wg0's MTU must be at least 60 below the path MTU. Determine the path MTU with ping -M do -s <size> 1.1.1.1 from the host or the CT as root (that runs over eth0 — use it only to measure the uplink), then set WIREGUARD_MTU to that IP packet size minus 60 (e.g. a working 1400-byte ping means WIREGUARD_MTU=1340; 1280 is always safe).
  3. A handshake that never completes means wrong keys/endpoint or UDP being blocked. If the handshake is recent and transfer: grows but uid-1001 requests time out, check reverse-path filtering: sysctl net.ipv4.conf.{all,eth0,wg0}.rp_filter must be 0 (or 2) — strict rp_filter=1 consults only the main routing table and drops tunnel returns. cont-init sets these to 0 inside the CT and tvstack-health reports a strict value.
  4. A recent handshake with no internet egress at all (root forced into table 1234 also fails) is a provider-side problem: server-internal DNS (e.g. Mullvad's 10.64.0.1) still answers, which makes DNS look healthy while nothing is forwarded. Verify the account/device is active for that key, generate a fresh WireGuard config and use its private key, address, peer key and endpoint. tvstack-netcheck prints exactly this split.
  5. Torrents at 0 peers with a healthy, fast tunnel mean the provider blocks P2P or needs port forwarding — try another endpoint.

FlareSolverr (indexer proxy)

FlareSolverr solves Cloudflare/DDOS-Guard browser challenges for indexers that block plain requests. The image ships the pinned self-contained release (bundled Chromium plus the shared libraries and Xvfb it needs) as a supervised s6 service:

  • listens on 127.0.0.1:8191 (override with FLARESOLVERR_PORT); Caddy publishes its status page at https://flaresolverr.$TVSTACK_DOMAIN/ (override with FLARESOLVERR_HOST)
  • runs as user arr with HOME=/config/flaresolverr, state under /config/flaresolverr
  • the status page has no login; anyone who can reach that vhost can use the proxy, so keep the CT on a trusted network (or remove the vhost from /run/tvstack/Caddyfile)

On first boot tvstack-setup registers it in Prowlarr as an indexer proxy named FlareSolverr-local and creates the tag flaresolverr. Prowlarr only routes an indexer through a proxy when both carry the same tag — a saved indexer without tags is fetched directly and hits Cloudflare (Cloudflare protection detected ... Flaresolverr may be required). Tag it in the UI (Indexers → edit → Tags) or from the node:

pct exec <id> -- sh /usr/local/bin/tvstack-tag-flaresolverr          # all indexers
pct exec <id> -- sh /usr/local/bin/tvstack-tag-flaresolverr EZTV     # just one

Prowlarr then syncs the tagged indexer to Sonarr/Radarr automatically. If FlareSolverr is unreachable at boot, setup logs a warning, skips only this step, and the rest of the wiring still completes.

Test it from inside the container:

pct exec <id> -- curl -s -X POST http://127.0.0.1:8191/v1 \
  -H 'Content-Type: application/json' \
  -d '{"cmd":"request.get","url":"https://example.com","maxTimeout":60000}'

A working install answers {"status":"ok",...}. Browser launch failures (missing shared libraries, no display) appear in the service log with the Chrome/Chromium version line — the health check only verifies the HTTP listener, not a solve.

Deploy on Proxmox VE

cp deploy/tvstack.env.example deploy/tvstack.env
$EDITOR deploy/tvstack.env

# Static IPv4 (recommended). CT_IP may include /prefix; otherwise CT_PREFIX=24.
CT_IP=192.168.1.50/24 \
CT_GATEWAY=192.168.1.1 \
CT_DNS=192.168.1.1 \
deploy/proxmox-create.sh

If CT_IP is unset, the script falls back to IP_CONFIG=ip=dhcp. You can also set IP_CONFIG explicitly to override the generated net0 string. Static values are validated before pct create; CT_DNS accepts a comma-separated list.

Deployment script variables

These are shell variables for deploy/proxmox-create.sh; they are not container environment variables and are not written into the CT env. They may be exported in the shell or placed in ENV_FILE; the shell environment wins. Script-only keys are filtered out before the file is written to the CT.

Variable Default Meaning
NODE current hostname Proxmox node name used by pvesh.
TEMPLATE_STORAGE local Storage that holds the OCI/vztmpl template.
IMAGE git.tni.dev/jonas/tv-stack:latest OCI image reference to pull.
CTID next free ID via pvesh get /cluster/nextid Container ID.
CT_HOSTNAME tvstack Container hostname.
MEMORY_MB 4096 Container RAM in MB.
CORES 4 vCPU count.
ROOTFS_STORAGE local-lvm Root filesystem storage.
ROOTFS_GB 16 Root filesystem size in GB.
BRIDGE vmbr0 Proxmox bridge for eth0.
CT_IP empty Static IPv4 address, with or without /prefix. Empty means DHCP.
CT_PREFIX 24 Prefix appended when CT_IP has no /prefix.
CT_GATEWAY empty IPv4 gateway; required when CT_IP is set.
CT_DNS empty DNS server(s) passed as pct create --nameserver; comma-separated. Empty uses host DNS.
IP_CONFIG empty Explicit net0 override, e.g. ip=dhcp or a complete custom string. Takes precedence over CT_* network values.
STATE_ROOT /srv/tvstack Host directory for /config and /data bind mounts.
EXTRA_MOUNTS empty Extra mpN=/host/path,mp=/container/path bind mounts, space-separated (e.g. host SSDs).
ENV_FILE deploy/tvstack.env Runtime environment file; script variables are read from it, non-script keys are written into the CT env.
PULL 1 1 pulls the image into template storage; 0 reuses an existing template.

CT_IP, CT_PREFIX, CT_GATEWAY, CT_DNS and IP_CONFIG all affect only pct create; they do not appear inside the container. CT_DNS seeds the CT resolver only; when VPN_ENABLED=true, the container replaces /etc/resolv.conf with WIREGUARD_DNS at startup.

The script pulls the image into template storage, creates an unprivileged CT with /config and /data bind mounts, writes the env file as lxc.environment.runtime lines, starts the CT, and waits for /usr/local/bin/tvstack-health.

If startup says a state directory is not writable

The container services run as UID 1000/1001. In an unprivileged CT those map to host UIDs through the CT's lxc.idmap (default base 100000, so 101000 and 101001). cont-init repairs ownership itself on every boot as container root; if it still fails, the mount is owned by an ID outside the mapping. Check:

CTID=200   # your container ID

pct config "$CTID" | grep -E '^(unprivileged|mp[0-9]+|lxc\.idmap):'
pct exec "$CTID" -- ls -ldn /config /config/sonarr /config/flaresolverr

unprivileged must be 1, and mp0 must contain mp=/config. If the mount is present but ownership is wrong, repair it on the host (replace the base with your CT's actual lxc.idmap host start):

chown -R 100000:100000 /srv/tvstack/config /srv/tvstack/config/caddy
chown -R 101000:101000 /srv/tvstack/config/{sonarr,radarr,prowlarr,seerr,flaresolverr}
chown -R 101001:101000 /srv/tvstack/config/qbittorrent
chown -R 101000:101000 /srv/tvstack/data /srv/tvstack/data/media
chown -R 101001:101000 /srv/tvstack/data/torrents
pct start "$CTID"

If unprivileged is 0, recreate the CT with deploy/proxmox-create.sh; do not use host UID 101000 in a privileged container.

Bind mounts survive pct destroy, but vzdump skips their contents. Back up /config separately (CT backup includes the rootfs; /config is a bind mount) and snapshot /data with ZFS.

Prowlarr indexer test fails: "Resource temporarily unavailable (host:443)"

That is Servarr's wording for a failed DNS/connect attempt — in the logs it is System.Net.Dns.GetHostEntryOrAddressesCore ... SocketException (11) or, from Seerr, getaddrinfo EAI_AGAIN. With VPN_ENABLED=true all apps resolve through WIREGUARD_DNS over the tunnel; provider resolvers are often slow, and glibc's 5 s default plus per-query A/AAAA lookups from every app made lookups time out. The image therefore runs dnsmasq as a local cache and writes:

options timeout:10 attempts:3 single-request-reopen
nameserver 127.0.0.1

dnsmasq (/run/tvstack/dnsmasq.conf) forwards to WIREGUARD_DNS through the tunnel, so qBittorrent still never falls back to the LAN/ISP resolver. tvstack-health includes a DNS resolution check. Verify inside the CT:

pct exec <id> -- sh -c 'cat /etc/resolv.conf; getent hosts <indexer-domain> | head -2'
pct exec <id> -- curl -s -o /dev/null -w '%{http_code}\n' --max-time 30 https://<indexer-domain>/

Check pct exec <id> -- tail -20 /var/log/... for dnsmasq errors and run tvstack-health — it reports DNS resolution. If lookups still time out, the provider DNS itself is unreachable or lossy: set WIREGUARD_DNS to a resolver reachable from inside the tunnel (many providers allow 1.1.1.1 / 9.9.9.9) and recreate the CT. Slow TLS through the tunnel that is unrelated to DNS usually means an MTU problem on the uplink; lower wg0's MTU (ip link set wg0 mtu 1380 as a test).

/etc/gai.conf also prefers IPv4 (precedence ::ffff:0:0/96 100) so AAAA records are not tried first in an LXC without IPv6.

"error code: 521" / "525" from *.servarr.com in the app logs

Those are Cloudflare edge errors (origin unreachable / origin TLS failure) for Servarr's own phone-home calls — update checks, server-side notifications, SystemTimeCheck. They do not affect indexers or downloads. The image seeds UpdateMechanism=External (an immutable image must not self-update) so update polls stop; the notification/time warnings are cosmetic and appear when the Servarr CDN has a bad minute. If an indexer test fails where curl from inside the CT succeeds, tag that indexer flaresolverr so Prowlarr fetches it through the bundled browser instead of the .NET HTTP client.

Build and publish

  • scripts/build.sh — local Buildah/Podman build from versions.env.
  • .forgejo/workflows/build.yml — builds and pushes $REGISTRY/$GITHUB_REPOSITORY:<semver>, :sha-<sha> and :latest on main. Requires REGISTRY_TOKEN and REGISTRY_USER.
  • .forgejo/workflows/upstream-check.yml — daily upstream check. It rewrites versions.env and the Containerfile ARG defaults, pushes to main, and lets the push trigger a rebuild. Requires UPDATER_TOKEN with write:repository. Major jumps are skipped unless ALLOW_MAJOR_UPGRADES=true.
  • scripts/upstream-versions.sh — resolves current releases from GitHub, Docker Hub, nodejs.org and Debian backports.
  • scripts/update-versions.sh — applies those pins to versions.env and Containerfile.
  • tests/render-config.sh — asserts rendered Caddyfile, WireGuard, nftables, qBittorrent and *arr config; checks Caddy adapts and the Hetzner module is present.
  • scripts/smoke-test.sh — starts the image with internal TLS and VPN_ENABLED=false, verifies all app UIs and the seeded qBittorrent login through Caddy, HTTP redirect, health, and state across recreation. The real tunnel is verified by tvstack-health on the Proxmox node.

Version policy

Current pins (2026-11-21): Seerr 3.5.2, Radarr 7.0.3.10918, Sonarr 4.0.20.3014, Prowlarr 3.0.2.5780, Caddy 2.11.9, Hetzner DNS module 2.0.1, s6-overlay 3.2.3.2, Node 22.23.5, qBittorrent 5.3.0. versions.env is the source of truth; the table below describes the tracking rule.

Component Tracked line
Seerr latest stable GitHub release
Radarr / Sonarr / Prowlarr latest stable GitHub release
Caddy + Hetzner DNS module latest stable release; builder digest updated together
s6-overlay latest stable release
Node newest 22.x image tag, because Seerr documents Node 22.x; 26.x is intentionally not adopted
qBittorrent trixie-backports, currently 5.3.0

The updater does not silently adopt major versions. Review Caddy/Node/Seerr major jumps manually, set ALLOW_MAJOR_UPGRADES=true for one run, and run the render/smoke tests before merging.

Limits

  • Proxmox OCI application containers are unprivileged and have no Docker or systemd. This image is a single s6 supervisor, not a VM. WireGuard/nftables must be allowed inside the container's user namespace; if wg-quick fails, the container stops with a specific error.
  • Seerr is a source build inside the image; updating it means rebuilding the image. Its Next.js build is pinned to two page-data workers and a 4 GB heap, and the CI build job has a 60-minute timeout, after Next 16's memory-based worker count OOMed a constrained runner during "Collecting page data".
  • The image is updated by recreating the CT. /config and /data must be bind mounts, not ephemeral container volumes.
  • Caddy DNS-01 requires a Hetzner Cloud token with access to the zone. ACME failures are visible in the Caddy service logs and fail health.
  • FlareSolverr carries a bundled Chromium (~750 MB extracted) and is published without its own login; treat the flaresolverr vhost as trusted-network only, and expect the image to be ~2.8 GB.