Do not start container unless depends_on container is healthy

I am running an application using docker container. My application is depends_on mysql container.
In mysql container I have added init scripts required by application. Init scripts in mysql image takes time for execution. My application is failing if application spin up before mysql container is healthy. I added healthcheck for mysql. Is there anyway other than bash script, to make application wait until depends_on container is healthy?