fix: publish the db and app ports on loopback only
Summary
-
db:5433:5432→127.0.0.1:5433:5432. Postgres with the default credentials was reachable from the home Wi-Fi and the tailnet (checked withnc -zfrom the MacBook). -
app: drop the8788:8788publish. The native launchd portal already holds127.0.0.1:8788and reaches the container on127.0.0.1:8792, so the wildcard publish only served LAN/tailnet clients, bypassing Cloudflare Access.
Part of the Mac mini security review (Mac-mini-Ops, docs/seguridad-2026-09.md).
Test plan
-
CI green -
After merge: docker compose up -d db app, thenlsof -nP -iTCP:5433 -sTCP:LISTENshows only127.0.0.1 -
https://studio.doctrinestrike.comstill redirects to Access; portal on127.0.0.1:8788answers;127.0.0.1:8792answers