From 67533c1b242e6ec3cfc77a7411b56053583c344e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 31 Mar 2026 16:28:44 -0400 Subject: [PATCH] simplify: Remove unnecessary bind-mounts in entrypoint - Docker-compose already handles the bind-mounts via volumes config - Entrypoint now just creates subdirectories and verifies access - Removes 'Could not bind' warnings that were noise - Cleaner startup logs Co-Authored-By: Claude Haiku 4.5 --- entrypoint.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 1a619dc..161989e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,18 +20,10 @@ else # Create subdirectories if they don't exist mkdir -p "$SMB_SHARE/watch" "$SMB_SHARE/output" "$SMB_SHARE/logs" - - # Bind-mount SMB subdirectories to container paths - mkdir -p "$WATCH_DIR" "$OUTPUT_DIR" "$LOGS_DIR" - - mount --bind "$SMB_SHARE/watch" "$WATCH_DIR" 2>/dev/null || echo "⚠ Could not bind watch folder" - mount --bind "$SMB_SHARE/output" "$OUTPUT_DIR" 2>/dev/null || echo "⚠ Could not bind output folder" - mount --bind "$SMB_SHARE/logs" "$LOGS_DIR" 2>/dev/null || echo "⚠ Could not bind logs folder" - - echo "✓ Mount points configured" + echo "✓ Subdirectories ready" fi -# Verify paths exist +# Verify paths are accessible (docker-compose handles the bind-mounts) echo "Verifying mount points..." for dir in "$WATCH_DIR" "$OUTPUT_DIR" "$LOGS_DIR"; do if [ -d "$dir" ]; then