add ES_NUMBER_OF_REPLICAS environment variable