Have you tried to exclude the MongoHealthContributorAutoConfiguration in your main application class?
@SpringBootApplication(
    exclude = {  org.springframework.boot.actuate.autoconfigure.data.mongo.MongoHealthContributorAutoConfiguration.class
    }
)
public class YourApplication {
    
}