blob: 3b7284d53739c23ce3b7588826992544ba3d04f0 [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
17 command: logstash -f /config-dir/logstash.conf
18 depends_on:
19 - elasticsearch
20 networks:
21 es_net:
ac2550792d8022018-03-27 13:31:03 +020022 environment:
23 - dmaap_base_url=http://localhost:3904/
24 - dmaap_user=user
25 - dmaap_password=password
26 - dmaap_consumer_group=CG42
27 - dmaap_consumer_id=C42
28 - event_topic=EVENT_TOPIC
29 - notification_topic=NOTIFICATION_TOPIC
30 - request_topic=REQUEST_TOPIC
ac25505082fd72018-03-20 12:35:48 +010031
32 kibana:
33 image: kibana
34 ports:
35 - 5601:5601
36 depends_on:
37 - elasticsearch
38 networks:
39 es_net:
40
41 backup:
42 image: taskrabbit/elasticsearch-dump
43 depends_on:
44 - elasticsearch
45 command:
46 - --input=http://elasticsearch:9200/.kibana
47 - --output=/backups/backup.json
48 - --type=data
49 volumes:
50 - ./es_backup/:/backups/
51 networks:
52 es_net:
53
54 restore:
55 image: taskrabbit/elasticsearch-dump
56 depends_on:
57 - elasticsearch
58 command:
59 - --output=http://elasticsearch:9200/.kibana
60 - --input=/backups/backup.json
61 - --type=data
62 volumes:
63 - ./es_backup/:/backups/
64 networks:
65 es_net:
66
67 default:
68 image: taskrabbit/elasticsearch-dump
69 depends_on:
70 - elasticsearch
71 command:
72 - --output=http://elasticsearch:9200/.kibana
73 - --input=/backups/default.json
74 - --type=data
75 volumes:
76 - ./es_backup/:/backups/
77 networks:
78 es_net:
79
80
81networks:
82 es_net: