added healthcheck for query service to wait for router service

This commit is contained in:
Ankit Anand 2021-06-01 17:17:12 +05:30
parent 2776bfa311
commit 47bf512a33
2 changed files with 10 additions and 1 deletions

View File

@ -171,7 +171,11 @@ services:
- DruidDatasource=flattened_spans
- STORAGE=druid
- POSTHOG_API_KEY=H-htDCae7CR3RV57gUzmol6IAKtm5IMCvbcm_fwnL-w
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://router:8888/status/health"]
interval: 30s
timeout: 5s
retries: 5
frontend:
image: signoz/frontend:0.3.0

View File

@ -167,6 +167,11 @@ services:
- STORAGE=druid
- POSTHOG_API_KEY=H-htDCae7CR3RV57gUzmol6IAKtm5IMCvbcm_fwnL-w
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://router:8888/status/health"]
interval: 30s
timeout: 5s
retries: 5
frontend:
image: signoz/frontend:0.3.0