Version with custom Dockerfile
/ Docker Image.
docker-compose build
docker-compose up
- Run the health check.
- If it fails, exits from script with exit code 1.
- If the health check is ok, the script will continue.
- If it is the first health check OK and if
DOCKER_ON_READY
environment variable exists, execute it.