Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Asturgeek opened this issue Feb 20, 2025 · 3 comments
Open

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

Asturgeek opened this issue Feb 20, 2025 · 3 comments

Comments

@Asturgeek
Copy link

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

@tianon
Copy link
Member

tianon commented Feb 20, 2025

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

@Asturgeek
Copy link
Author

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

@LaurentGoderre
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants