File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ deploy_container() {
77 echo " docker-compose pull & up ..."
88
99 docker-compose pull redis
10+ docker-compose up -d redis
1011 docker-compose pull ${CONTAINER_NAME}
11- docker-compose up -d app-redis
1212 docker-compose up -d ${CONTAINER_NAME}
1313}
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ health_check() {
66 local PORT=$1
77 local RETRIES=" ${RETRIES:- 5} "
88
9- echo " ▶️ Start health check after 15 seconds"
10- sleep 15
9+ echo " ▶️ Start health check after 20 seconds"
10+ sleep 20
1111
1212 for retry_count in $( seq 1 $RETRIES ) ; do
1313 echo " 🔎 Health Check on Port ${PORT} (Attempt: ${retry_count} /${RETRIES} )..."
14- sleep 3
14+ sleep 5
1515
1616 HTTP_STATUS=$( curl -s -o /dev/null -w " %{http_code}" http://localhost:${PORT}${HEALTH_CHECK_URL} )
1717
You can’t perform that action at this time.
0 commit comments