blob: 388c3187dcacaec5dc4ffbd29e164528dda94481 [file] [log] [blame]
ac25505082fd72018-03-20 12:35:48 +01001version: '3.1'
2
3services:
4 elasticsearch:
5 image: elasticsearch
6 ports:
7 - 9200:9200
8 networks:
9 es_net:
10 aliases:
11 - elasticsearch
12
13 logstash:
14 image: logstash
15 volumes:
16 - ./logstash-conf:/config-dir
osgn422w67ca7eb2018-09-04 17:00:19 +020017 - ./logstash-input:/log-input
ac25505082fd72018-03-20 12:35:48 +010018 command: logstash -f /config-dir/logstash.conf
19 depends_on:
20 - elasticsearch
21 networks:
22 es_net:
ac2550792d8022018-03-27 13:31:03 +020023 environment:
24 - dmaap_base_url=http://localhost:3904/
25 - dmaap_user=user
26 - dmaap_password=password
27 - dmaap_consumer_group=CG42
28 - dmaap_consumer_id=C42
29 - event_topic=EVENT_TOPIC
30 - notification_topic=NOTIFICATION_TOPIC
31 - request_topic=REQUEST_TOPIC
ac25505082fd72018-03-20 12:35:48 +010032
33 kibana:
34 image: kibana
35 ports:
36 - 5601:5601
37 depends_on:
38 - elasticsearch
39 networks:
40 es_net:
41
42 backup:
43 image: taskrabbit/elasticsearch-dump
44 depends_on:
45 - elasticsearch
46 command:
47 - --input=http://elasticsearch:9200/.kibana
48 - --output=/backups/backup.json
49 - --type=data
50 volumes:
51 - ./es_backup/:/backups/
52 networks:
53 es_net:
54
55 restore:
56 image: taskrabbit/elasticsearch-dump
57 depends_on:
58 - elasticsearch
59 command:
60 - --output=http://elasticsearch:9200/.kibana
61 - --input=/backups/backup.json
62 - --type=data
63 volumes:
64 - ./es_backup/:/backups/
65 networks:
66 es_net:
67
68 default:
69 image: taskrabbit/elasticsearch-dump
70 depends_on:
71 - elasticsearch
72 command:
73 - --output=http://elasticsearch:9200/.kibana
74 - --input=/backups/default.json
75 - --type=data
76 volumes:
77 - ./es_backup/:/backups/
78 networks:
79 es_net:
80
81
82networks:
83 es_net: