Repository navigation
fix: bind valkey and postgres to loopback and pin sidecar images; 35.0.3:4 → 35.0.3:5 - #191
Conversation
helix-white
left a comment
There was a problem hiding this comment.
Reviewed the full diff and shared daemon setup used by installation, upgrades, and normal startup. The loopback bindings preserve both localhost clients, and upstream Valkey documents the optional IPv6 bind syntax. Both exact image tags exist for x86_64 and aarch64; PostgreSQL stays on major 17. The revision bump and update instructions match.
No correctness findings. Merges cleanly with master. CI architecture builds are pending; no builds or tests run for this review.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
98294b8 to
3691260
Compare
…0.3:4 → 35.0.3:5 valkey-server ran with no arguments, and the valkey/valkey image patches protected-mode off, so it listened on every interface with no password. Nextcloud and the health check reach it on localhost only, so bind it to 127.0.0.1 and (optionally) ::1, with protected-mode back on. Postgres also listened on every interface (password-protected); bind it to 127.0.0.1 as the rest of the fleet's Postgres sidecars do. Pin valkey/valkey:9-alpine and postgres:17-alpine to exact tags (9.2.0-alpine, 17.12-alpine), as the rest of the fleet does, and update UPDATING.md to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3691260 to
63a93ef
Compare
helix-white
left a comment
There was a problem hiding this comment.
Re-reviewed 63a93ef against the previously approved head. The added PostgreSQL loopback restriction is passed through the image entrypoint correctly and preserves the localhost connections used by Nextcloud and readiness checks. The shared daemon setup covers installation, upgrades, and normal startup. Updated release notes match the scope.
No correctness findings. Merges cleanly with master; both architecture builds passed. No builds or tests run for this review.
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Fixes #190
valkey-serverran bare, and thevalkey/valkeyimage patchesprotected-modeoff, so it accepted unauthenticated connections on every interface. Its only clients — Nextcloud (config.phpredis.host = localhost) and the health check (valkey-cli ping) — are local, so it now runs with--bind 127.0.0.1 -::1 --protected-mode yes. The-prefix makes::1optional: verified in a scratchvalkey/valkey:9.2.0-alpinecontainer that it listens on127.0.0.1:6379and[::1]:6379, answersPINGon both, and with IPv6 disabled logs a warning and still starts on127.0.0.1.-c listen_addresses=127.0.0.1), as every other Postgres sidecar in the fleet does. It was password-protected but bound to every interface. Nextcloud (POSTGRES_HOST=localhost) andpg_isready -h localhostfall through::1to127.0.0.1.mariadb:11.8.9,postgres:18.6, …):valkey/valkey:9-alpine→9.2.0-alpine(the digest9-alpinecurrently resolves to) andpostgres:17-alpine→17.12-alpine(same major, no migration).UPDATING.mdnow tells the update monitor to bump them to the newest exact tag in-major. Both are what the floating tags already resolved to when 35.0.3:4 was built (2026-11-23), so the pin changes no image for users and the release notes don't mention it.:4is on beta), with release notes. Already on start-sdk 4.1.0.tscand the bundle build pass; not installed on a box.review effort: 'high'
🤖 Generated with Claude Code