Waiting for the Database to be available 1/10 getting bigger then 10
I am trying to install phpList with Docker. I set the .env variables as shown in link with my own values.
When I deploy the container, it deploys fine, but when I try to access the application, I get a bad gateway error.
When I look in the logs, the message appears: Waiting for database to be available - 1/10 appears.
Now this message keeps appearing and I am currently at Waiting for database to become available - 66/10.
Do I need to add a database container myself or have I forgotten something?
Yes, you need to give a valid end-point for a DB connection. That can be another container, or a different server. Interesting it goes over 10, I will look into that. The idea is that if it didn't work in 10 steps, it's unlikely to work, so it should stop after 10 iterations. When you bring up two containers, it can take a little while for the DB to be ready, which is why this delay is there.