chore: Remove RTS Health check in Docker container

This commit is contained in:
Shrikant Sharat Kandula 2023-10-21 09:58:40 +05:30 committed by GitHub
parent 1a3ca13a20
commit b6b64f2f1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,6 @@ while read -r line
echo 'ERROR: Server is down';
healthy=false
fi
elif [[ "$process" == "rts" ]]; then
if [[ $(curl -s -w "%{http_code}\n" http://localhost:8091/ -o /dev/null) -ne 302 ]]; then
echo 'ERROR: RTS is down';
healthy=false
fi
elif [[ "$process" == "mongo" ]]; then
if [[ $(mongo --eval 'db.runCommand("ping").ok') -ne 1 ]]; then
echo 'ERROR: Mongo is down';