Products are not showing in frontend in Magento 2.4.1

I have installed 3 fresh magento 2.4.0 in server with elasticsearch as a separate container. I have created products in all 3 magento websites. But products are not showing up in frontend. Products are showing only after reindexing. Can anyone please help me on this issue?