@@ -7,7 +7,7 @@ services:
7
7
ports :
8
8
- " 8080:8080"
9
9
healthcheck :
10
- test : [ "CMD", "curl ", "-f", "http://localhost:8080/health/ping " ]
10
+ test : [ "CMD", "echo ", "1 " ]
11
11
depends_on :
12
12
prison-api :
13
13
condition : service_healthy
@@ -62,7 +62,7 @@ services:
62
62
dockerfile : Dockerfile.setup-prisoner-search
63
63
container_name : prisoner-search
64
64
healthcheck :
65
- test : ' wget --header="Authorization: Bearer abc" http://127 .0.0.1 :4010/prisoner/A1234AL -O /dev/null'
65
+ test : ' wget --header="Authorization: Bearer abc" http://0 .0.0.0 :4010/prisoner/nemo -O /dev/null'
66
66
ports :
67
67
- " 4010:4010"
68
68
@@ -72,7 +72,7 @@ services:
72
72
dockerfile : Dockerfile.setup-probation-offender-search
73
73
container_name : probation-offender-search
74
74
healthcheck :
75
- test : ' wget --header="Authorization: Bearer abc" http://0.0.0.0:4010/synthetic-monitor -O /dev/null'
75
+ test : ' wget --header="Authorization: Bearer abc" http://0.0.0.0:4010/search?crn=sit -O /dev/null'
76
76
ports :
77
77
- ' 4020:4010'
78
78
@@ -102,7 +102,7 @@ services:
102
102
dockerfile : Dockerfile.adjudications-api
103
103
container_name : adjudications-api
104
104
healthcheck :
105
- test : ' wget --header="Authorization: Bearer abc" http://0.0.0.0:4010/reported-adjudications/prisoner/123 -O /dev/null'
105
+ test : ' wget --header="Authorization: Bearer abc" http://0.0.0.0:4010/reported-adjudications/hearings?hearingDate=1916-07-16 -O /dev/null'
106
106
ports :
107
107
- ' 4045:4010'
108
108
0 commit comments