Skip to content

Commit

Permalink
Fix. Operation timeout error while startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-13 authored Dec 13, 2023
1 parent 4cdef9d commit f3dbef4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package/docker/bahmni-reports/start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
set -e

sh /etc/wait-for ${REPORTS_DB_SERVER}:3306
echo "Waiting for ${REPORTS_DB_SERVER} for 3600 seconds.."
sh /etc/wait-for --timeout=3600 ${REPORTS_DB_SERVER}:3306
echo "Waiting for ${OPENMRS_DB_HOST} for 3600 seconds.."
sh /etc/wait-for --timeout=3600 ${OPENMRS_DB_HOST}:3306

echo "[INFO] Substituting Environment Variables"
Expand Down

0 comments on commit f3dbef4

Please sign in to comment.