wordpress icon indicating copy to clipboard operation
wordpress copied to clipboard

Docker-compose example don´t runs....

Open Asturgeek opened this issue 9 months ago • 3 comments

I am a complete novice. I have created the example docker-compose to test and build a solid and secure image. I have found that the example does not work, it throws the error bbdd don't connect in the server.

After checking, from my ignorance I have found the solution.... Add that instruction to the wordpress container.

depends_on: -db

Asturgeek avatar Feb 20 '25 12:02 Asturgeek

It doesn't fail to run, right? It should just fail to work until the database is up, which is fine.

tianon avatar Feb 20 '25 22:02 tianon

The bbdd never connect with the WP container. The WP container throw connection error.

Asturgeek avatar Feb 21 '25 08:02 Asturgeek

I don't get that behavior. What error do you get?

LaurentGoderre avatar Feb 21 '25 15:02 LaurentGoderre