Next.js SSR takes 30-60s to compile on first boot — immediate curl check
always fails. Now retries every 5s for up to 24 attempts (2 minutes).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previously any Docker process on the port was treated as safe.
Now uses docker inspect on our project's containers specifically,
so ports used by other apps on the server trigger the conflict prompt.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes root check; uses sudo internally for apt/apache/ufw commands
so git pull and docker commands run as the invoking user (with correct
SSH keys and docker group membership).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>