I am working on setting up LCA Collab Server with Tomcat and I'm trying to find a way to provide configuration in a reproducible way. For providing database credentials I've managed to automatically edit the relevant settings in "application.properties", however I wasn't able to find what settings control Elasticsearch setup. I have an OpenSearch cluster on a different host and I want to provide that directly to LCA CS server through configuration but I can't find how to do that.
What I would like to be able to do through configuration (not UI - preferably env vars or "application.properties") is to:
a) enable search feature
b) provide elastic search configuration (host/port/etc)
I would appreciate any advice