From d97bb6f53eefd2139115d39bca7e17d565222472 Mon Sep 17 00:00:00 2001 From: Clawd Date: Tue, 17 Feb 2026 07:59:50 -0800 Subject: Fix port collision bug, add --container-port flag Port allocation: - Use atomic flock-based allocation via /etc/ship/next_port - Prevents race conditions when multiple deploys run concurrently - Each app still gets its port stored in /etc/ship/ports/ Docker container port: - Add --container-port flag (default 80) - Template now uses {{.ContainerPort}} instead of hardcoded 80 - Supports containers that listen on 8080, 3000, etc. --- ship-new | Bin 12401121 -> 12400369 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'ship-new') diff --git a/ship-new b/ship-new index 814585f..cd3667d 100755 Binary files a/ship-new and b/ship-new differ -- cgit v1.2.3