so what happens when you try to
curl -v -u elastic http://172.24.11.223:9200
I ran your compose for Elastic and Kibana and it work (although above you kibana is not indented correctly)
curl -u elastic 192.168.2.107:9200
Enter host password for user 'elastic':
{
"name" : "9accc803cd72",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "omRCWzJiQSmqhK2WGeeb4A",
"version" : {
"number" : "8.12.1",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "6185ba65d27469afabc9bc951cded6c17c21e3f3",
"build_date" : "2024-02-01T13:07:13.727175297Z",
"build_snapshot" : false,
"lucene_version" : "9.9.2",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
hyperion:docker sbrown$
Check the curl
works then come back
take out
ssl.verification_mode: none
But actually your compose DOES not work right as Kibana does not get setup properly you setup is not working quite right... but that may be because the text it cutoff... on the KIBANA_PASSWORD part...when I fixed that and the kibana_system password seemed to get set... .
elasticsearch | {"@timestamp":"2024-08-26T02:35:46.582Z", "log.level": "INFO",
"message":"Authentication of [kibana_system] was terminated by realm [reserved] - failed to authenticate user [kibana_system]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[9accc803cd72][transport_worker]
[T#8]","log.logger":"org.elasticsearch.xpack.security.authc.RealmsAuthenticator","trace.id":"2af2bc4a55499414646f4ebee4581396","elasticsearch.cluster.uuid":"omRCWzJiQSmqhK2WGeeb4A","elasticsearch.node.id":"ODRCQCFVReGpZ64y-mCyxA","elasticsearch.node.name":"9accc803cd72","elasticsearch.cluster.name":"elasticsearch"}