Hello guys, I am following along the Docker for beginners course. Now i am tryi . . .

Joel Talom:
Hello guys, I am following along the Docker for beginners course. Now i am trying the deploy simple voting APP (https://github.com/mmumshad/kubernetes-example-voting-app). Now i am having some trouble starting the worker-app. The worker-app requires redis (redis) and postgres (db) databases. Both of them are running. Every time when running the worker-app i am getting the message " waiting for db". As you can see both redis and postgres are running. How can i get more logs to understand why worker-app not able to connect to db ?

Joel Talom:
here is screenshot where you can see that the postgres running

Joel Talom:
for your information when i run postgres db i had specify the password as option as it won’t let me without a password being specified. Maybe it is the issue ?

Joel Talom:
i believe i need to set the parameter POSTGRES_HOST_AUTH_METHOD: “trust” when running docker run. can’t see how to do it yet

unnivkn:
Hi @Joel Talom fyr: https://kodekloud.com/community/t/docker-compose-example-command-when-trying-out/160727

Joel Talom:
thanks @unnivkn. checking now the response

Joel Talom:
the password i was using when starting the instance was wrong. So i had to check the docker-compose-yml file to see the correct username and password for postgres

Joel Talom:
thanks again