blob: ded2c6b01949b1b9de9f8d8708a199a19ce220ab [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:
22 environment:
23
24 kibana:
25 image: kibana
26 ports:
27 - 5601:5601
28 depends_on:
29 - elasticsearch
30 networks:
31 es_net:
32
33 backup:
34 image: taskrabbit/elasticsearch-dump
35 depends_on:
36 - elasticsearch
37 command:
38 - --input=http://elasticsearch:9200/.kibana
39 - --output=/backups/backup.json
40 - --type=data
41 volumes:
42 - ./es_backup/:/backups/
43 networks:
44 es_net:
45
46 restore:
47 image: taskrabbit/elasticsearch-dump
48 depends_on:
49 - elasticsearch
50 command:
51 - --output=http://elasticsearch:9200/.kibana
52 - --input=/backups/backup.json
53 - --type=data
54 volumes:
55 - ./es_backup/:/backups/
56 networks:
57 es_net:
58
59 default:
60 image: taskrabbit/elasticsearch-dump
61 depends_on:
62 - elasticsearch
63 command:
64 - --output=http://elasticsearch:9200/.kibana
65 - --input=/backups/default.json
66 - --type=data
67 volumes:
68 - ./es_backup/:/backups/
69 networks:
70 es_net:
71
72
73networks:
74 es_net: