Patch release from v1.21.1 first-touch UX feedback. Two clean fixes to the auto-detect modal:
Changed
Smart default-checking
- Multi-container stacks: auto-checked (real import candidates)
- Single-container stacks: unchecked +
singlewarning badge (making them a Docksentry group has no effect becauserestart_dependentsneeds ≥2 members to do anything) - Already-imported stacks: still disabled + grayed out
On a typical home setup with 9 detected stacks (Nextcloud's 3-container set, Paperless-NGX's 3-container set, an InfluxDB+NodeRed pair, plus 6 single-container Compose projects), v1.21.1 auto-checked all 9. Now it auto-checks the 3 real groups — saving 6 manual unchecks before "Import selected".
Cleaner restart_dependents placement
The restart_dependents checkbox sat as a separate footer row visually adjacent to the member list — looked like another member row but was a totally different concept (group-level option, not container membership). Now it sits directly under the stack header as an inline labelled control, clearly separated from the member list. Disabled + grayed out for single-container stacks where it has no effect.
Bonus: netns auto-recommendation
When at least one container in a stack runs with NetworkMode=container:<head> (the VPN-sidecar pattern: Sonarr / Radarr / qBittorrent on network_mode: service:gluetun), restart_dependents is now pre-checked with a netns recommended hint badge. That's the case where the flag matters most — the sidecar loses connectivity when the head restarts, and our v1.17.0 cascade is the fix.
Notes
- Pure modal UX refinement — storage layer, backend API, group semantics all unchanged.
- Hard-reload the Web UI (
Ctrl+Shift+R) once after pulling so the updated JS lands.
Upgrade
docker pull amayer1983/docksentry:latest
docker compose up -d