Skip to content

Commit

Permalink
🔧 fix: Added health check for task definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Changiin Lee authored and Changiin Lee committed Jan 29, 2024
1 parent 3a722a2 commit 077f909
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .aws/task-definition-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
"appProtocol": "http"
}
],
"healthCheck": {
"retries": 3,
"command": [
"CMD-SHELL",
"curl -f http://localhost:8080/api/v1/health-check || exit 1"
],
"timeout": 5,
"interval": 30,
"startPeriod": null
},
"essential": true,
"environment": [],
"environmentFiles": [],
Expand Down

0 comments on commit 077f909

Please sign in to comment.