mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 21:55:09 +00:00
23 lines
No EOL
465 B
Bash
23 lines
No EOL
465 B
Bash
#!/bin/bash
|
|
|
|
docker container ls | grep -i frappe
|
|
docker container ls | grep -i redis-cache
|
|
docker container ls | grep -i redis-queue
|
|
docker container ls | grep -i redis-socketio
|
|
docker container ls | grep -i mariadb
|
|
|
|
cat <(./dbench start) &
|
|
|
|
sleep 5
|
|
|
|
while ! [[ $i == 20 ]]
|
|
do
|
|
output=$( curl "http://localhost:8000" )
|
|
{ echo "Exit status of curl: $?"
|
|
} 1>&2
|
|
sleep 2
|
|
i=$((i + 1))
|
|
done
|
|
|
|
|
|
echo "${output}" | grep '<title> Login </title>' || exit 1 |