Script to wait for Redis until it fully loaded redis/redis#4624
This script uses redis-tools
.
On Ubuntu install it using command:
RUN apt install redis-tools
./wait-for-redis.sh {redis host}:{redis port}
Example:
./wait-for-redis.sh localhost:6379