This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 161
/
docker-compose.yml
66 lines (61 loc) · 2.52 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
# https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
jhipster-elasticsearch:
build: jhipster-elasticsearch/
ports:
- "9200:9200"
# Uncomment this section to have elasticsearch data loaded from a volume
#volumes:
# - ./log-data:/usr/share/elasticsearch/data
jhipster-logstash:
build: jhipster-logstash/
environment:
- INPUT_TCP_PORT=5000
- INPUT_UDP_PORT=5000
- INPUT_HTTP_PORT=5001
- ELASTICSEARCH_HOST=jhipster-elasticsearch
- ELASTICSEARCH_PORT=9200
- LOGSTASH_DEBUG=true
ports:
- "5000:5000"
- "5001:5001"
- "9600:9600"
depends_on:
- jhipster-elasticsearch
jhipster-console:
build: jhipster-console/
environment:
- ELASTICSEARCH_URL=http://jhipster-elasticsearch:9200
ports:
- "5601:5601"
depends_on:
- jhipster-elasticsearch
jhipster-import-dashboards:
build: jhipster-import-dashboards/
environment:
- ELASTICSEARCH_URL=http://jhipster-elasticsearch:9200
depends_on:
- jhipster-elasticsearch
jhipster-alerter:
build: jhipster-alerter/
environment:
- WEBHOOK_URL=https://
volumes:
- ./jhipster-alerter/config.yaml:/opt/elastalert/config.yaml
- ./alerts/rules/:/opt/elastalert/rules
#https://www.elastic.co/guide/en/elasticsearch/client/curator/current/configuration.html
jhipster-curator:
build: jhipster-curator/
environment:
- ES_HOST=jhipster-elasticsearch
- UNIT_COUNT=7
- UNIT=days
jhipster-zipkin:
build: jhipster-zipkin/
environment:
- ES_HOSTS=http://jhipster-elasticsearch:9200
- ES_INDEX=traces
- ZIPKIN_UI_LOGS_URL=http://localhost:5601/app/kibana#/discover/d0682f20-e0e9-11e7-9c68-0b9a0f0c183c?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-30d,mode:quick,to:now))&_a=(columns:!(X-B3-TraceId,app_name,level,message),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'logs-*',key:X-B3-TraceId,negate:!f,params:(query:'trace',type:phrase),type:phrase,value:'trace'),query:(match:(X-B3-TraceId:(query:'{traceId}',type:phrase))))),index:'logs-*',interval:auto,query:(language:lucene,query:''),sort:!('@timestamp',desc))
ports:
- 9411:9411