Skip to content

Commit ebe9bd6

Browse files
Merge pull request #56 from TykTechnologies/fix_failing_checker_container
Increase health check duration for dashboard
2 parents 7e71177 + e9532c3 commit ebe9bd6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pro-ha.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ services:
145145
profiles: ["all", "master-datacenter"]
146146
image: curlimages/curl
147147
command: tail -f /dev/null
148+
restart: on-failure
148149
depends_on:
149150
- tyk
150151
healthcheck:
@@ -158,14 +159,15 @@ services:
158159
profiles: ["all", "master-datacenter"]
159160
image: curlimages/curl
160161
command: tail -f /dev/null
162+
restart: on-failure
161163
depends_on:
162164
- tyk-analytics
163165
healthcheck:
164-
test: ["CMD-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://tyk-analytics:3000/hello/ | grep -q '^200$'"]
165-
interval: 10s
166+
test: ["CMD", "curl", "-s", "-k", "http://tyk-analytics:3000/hello"]
167+
interval: 15s
166168
retries: 30
167-
start_period: 10s
168-
timeout: 10s
169+
start_period: 30s
170+
timeout: 30s
169171

170172
gateway-checker-1a:
171173
profiles: ["all", "slave-datacenter"]

0 commit comments

Comments
 (0)