"message":"Authentication of [kibana_system] was terminated by realm [reserved] - failed to authenticate user [kibana_system]"

hello
i wrote a compose file for setting up elastic and kibana but it seems that in kibana environment section ELASTICSEARCH_PASSWORD="something" can't pass the value to elastic container.
i checked the compose file thousand times and i think its ok
only way i found was manually change kibana_system password in elasticsearch container with the value of ELASTICSEARCH_PASSWORD in my compose but i can't do this for every environment that i want to install elastic and with every restart the containers.
my elastic host works fine with the password but kibana isn't.
after that i used Getting started with the Elastic Stack and Docker-Compose | Elastic Blog document and copy the exact lines and just changed variables but the same problem shown up again.

1 Like