The --wait flag causes the deploy to abort when a container exits immediately (e.g., due to transient DB connection issue on startup). With restart: unless-stopped, containers will auto-recover without blocking the deployment pipeline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>