Turgon37 / docker-glpi

Docker image running GLPI
MIT License
28 stars 18 forks source link

How to make glpi wait mysql container ? #34

Closed Elrondo46 closed 5 years ago

Elrondo46 commented 5 years ago

Please after reboot, error can't find mysql. Requires restart glpi container to make it functionnal

skupfer commented 5 years ago

Depends, I added an example in a pull request with a depends-on section for service v2.1. But the syntax changes later on.

example for docker-compose v3: https://dev.to/hugodias/wait-for-mongodb-to-start-on-docker-3h8b

Turgon37 commented 5 years ago

Hello, you are right, this issue is not related to my image but to docker itself. Thanks for your contribution :)