Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/deploy_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ deploy_container() {
echo "docker-compose pull & up ..."

docker-compose pull redis
docker-compose up -d redis
docker-compose pull ${CONTAINER_NAME}
docker-compose up -d app-redis
docker-compose up -d ${CONTAINER_NAME}
}
6 changes: 3 additions & 3 deletions script/health_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ health_check() {
local PORT=$1
local RETRIES="${RETRIES:-5}"

echo "▶️ Start health check after 15 seconds"
sleep 15
echo "▶️ Start health check after 20 seconds"
sleep 20

for retry_count in $(seq 1 $RETRIES); do
echo "🔎 Health Check on Port ${PORT} (Attempt: ${retry_count}/${RETRIES})..."
sleep 3
sleep 5

HTTP_STATUS=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:${PORT}${HEALTH_CHECK_URL})

Expand Down