Skip to content

Commit

Permalink
.review_apps: Tell Traefik to use /up for health checking the container
Browse files Browse the repository at this point in the history
  • Loading branch information
AP-Hunt committed Feb 11, 2025
1 parent a2e1a82 commit 4bd243e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .review_apps/ecs_task_definition.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ resource "aws_ecs_task_definition" "task" {
dockerLabels = {
"traefik.http.routers.forms-admin-pr-${var.pull_request_number}.rule" : "Host(`pr-${var.pull_request_number}.review.forms.service.gov.uk`)",
"traefik.http.services.forms-admin-pr-${var.pull_request_number}.loadbalancer.server.port" : "3000",
"traefik.http.services.forms-admin-pr-${var.pull_request_number}.loadbalancer.healthcheck.path" : "/up",
"traefik.enable" : "true"
},

Expand Down

0 comments on commit 4bd243e

Please sign in to comment.