Skip to content

Commit 5831490

Browse files
committed
Updating the healthcheck endpoint.
1 parent 1ede83f commit 5831490

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

docker-compose.production.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.8'
1+
version: "3.8"
22
services:
33
api:
44
build:
@@ -25,7 +25,7 @@ services:
2525
volumes:
2626
- ./logs:/app/logs
2727
healthcheck:
28-
test: ["CMD", "curl", "-f", "http://localhost:3001/v2.0/routes/healthwatch"]
28+
test: ["CMD", "curl", "-f", "http://localhost:3001/healthcheck"]
2929
interval: 30s
3030
timeout: 10s
3131
retries: 3

docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.8'
1+
version: "3.8"
22
services:
33
api:
44
build:
@@ -25,7 +25,7 @@ services:
2525
volumes:
2626
- ./logs:/app/logs
2727
healthcheck:
28-
test: ["CMD", "curl", "-f", "http://localhost:3001/v2.0/routes/healthwatch"]
28+
test: ["CMD", "curl", "-f", "http://localhost:3001/healthcheck"]
2929
interval: 30s
3030
timeout: 10s
3131
retries: 3

infrastructure/cloudformation-template.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,7 @@ Outputs:
160160
Value: !Sub 'https://${AppRunnerService.ServiceUrl}'
161161
Export:
162162
Name: !Sub '${AWS::StackName}-ServiceUrl'
163-
164-
# Remove or update this output since ECRRepository resource no longer exists
165-
ECRRepository:
166-
Description: ECR Repository URI
167-
Value: !Sub '${AWS::AccountId}.dkr.ecr.${AWS::Region}.amazonaws.com/neoapi-${Environment}'
168-
Export:
169-
Name: !Sub '${AWS::StackName}-ECRRepository'
170-
163+
171164
CustomDomainURL:
172165
Description: Custom domain URL
173166
Value: !Sub 'https://${DomainName}'

0 commit comments

Comments
 (0)