Skip to content

Commit

Permalink
Merge pull request #53 from kunduso/add-healthcheck
Browse files Browse the repository at this point in the history
#51 update healthcheck output for aws cloudwatch logs
  • Loading branch information
kunduso authored May 8, 2024
2 parents c8a036d + 45704d4 commit 63a9701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/ecs_task.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "aws_ecs_task_definition" "web_app" {
}
}
healthCheck = {
command = ["CMD-SHELL", "curl -f http://localhost:8080>> /proc/1/fd/1 2>&1 || exit 1"]
command = ["CMD-SHELL", "curl -f http://localhost:8080/healthcheck>> /proc/1/fd/1 2>&1 || exit 1"]
interval = 30
retries = 3
timeout = 5
Expand Down

0 comments on commit 63a9701

Please sign in to comment.