Hi @lisa99, welcome to the forum!
Elastic has official Docker images for the parts of the Stack, I'd check them out:
If you need to override default config files, and there's a lot of configuration, one option would be to build your own Dockerfiles on top of the official ones.
For a simple local setup, I'd personally use docker-compose and include both Elasticsearch and Kibana instances there. You can even build a multi-node ES and KIbana cluster that way, where all the nodes would still work on the same machine.
If you are familiar with Kubernetes or need a more advanced setup, another option would be to spin up Elastic Stack in a K8s cluster. Elastic has Helm charts, seems like not every component of the Stack is there, but still:
For even more fancy deployments there's an option to use Elastic Cloud on Kubernetes:
As for configuring your data sources like Elastic Agent and Endpoint Security, probably the easiest way would be to do it via Fleet (your Agents should be enrolled in your Fleet, so you could have a centralised control over them from Kibana):
Elastic Security app requires some configuration to be done upfront for production environments, make sure to read this documentation:
Sorry, at this point we don't have any automation of the things specifically required by Elastic Security.
For a simple local setup you could log in as a superuser (make sure to give your user the role named
superuser) and expect most of the functionality working.