Ulimit checks warning in rancheros and rancher2

When I install solr i get this warning, how can I change the ulimit in rancheros?

Regards
Guido

solr-7.3.0]$ bin/solr start
*** [WARN] *** Your open file limit is currently XXXX.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh
*** [WARN] *** Your Max Processes Limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to false in your profile or solr.in.sh