tvelocity / dockerfiles

My collection of Dockerfiles for various services.
15 stars 39 forks source link

Adding wait-for-it #33

Closed emacsen closed 6 years ago

emacsen commented 6 years ago

Currently, the database (mysql or mariadb) may not start until after etherpad is already trying to start, in which case the etherpad instance fails to connect to the database, and exits immediately.

I've added wait-for-it to the entrypoint. It checks the database to see if the port is ready for connection. Once it is, the script proceeds as before.

emacsen commented 6 years ago

I'm closing this because there are too many issues. Will clean up and build a new one