Cook the spaghetti in salted water for 10-15 minutes as usual.
Meanwhile, drain the seafood and let it thaw for about 15 minutes.
Peel the onions and garlic and cut into small cubes. Chop the basil.
Put the oil in a pan and heat it up. Steam the onions in it, then add the garlic. Add seafood and cook for about 5 minutes. Deglaze with the white wine, season with salt and pepper and add the bay leaf. Cover everything and let it simmer for 15 minutes.
Add the basil and pasta. Mix everything well and serve.