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