Elasticsearch and NestJs multi cluster

Hello everyone, I have a small problem I want to produce an elasticsearch via an app NestJs. I have 3 hosts but I don't know how to configure my "search.module" "search.providers" and "search.service". Should I do something in my environment variables?

Thanks in advance for your help !