Docker Elasticsearch Kibana Issues with Elastic-Agent sending data

As your encryption key is red for Kibana, I guess something is not right with your compose setup. Can you have a look at this thread here that had exactly the same issue and got resolved? Kibana unable to configure fleet access Let me know if this doesn't help.