wordpress
wordpress copied to clipboard
Docker-compose example don´t runs....
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
It doesn't fail to run, right? It should just fail to work until the database is up, which is fine.
The bbdd never connect with the WP container. The WP container throw connection error.
I don't get that behavior. What error do you get?