-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (54 loc) · 1.46 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
version: '2'
services:
kibana_web:
image: kibana
container_name: kibana
working_dir: /
environment:
PORT: 5601
# Optional, unused here.
# ELASTICSEARCH_URL=http://elasticsearch:9200
ports:
- '5601:5601'
links:
- es_web
# volumes:
# - ./kibana:/
es_web:
image: elasticsearch
container_name: elasticsearch
working_dir: /
environment:
PORT: 9200
ports:
- '9200:9200'
- '9300:9300'
volumes:
- ./esdata:/usr/share/elasticsearch/data
# Run the following in the container to get plugins from github:
## plugin install bscottm/elastic-lda
es_web_fill:
image: alpine:latest
container_name: es_web_fill
command: sh -c "apk update; apk add curl; sh movies.sh; sh shakespeare.sh"
working_dir: /data
environment:
- es_protocol=http
- es_host=elasticsearch
- es_port=9200
volumes:
- ./default-data/:/data
links:
- es_web
shell:
image: elasticsearch
container_name: elasticsearch_shell
command: bash
working_dir: /
environment:
PORT: 9200
ports:
- '9200:9200'
- '9300:9300'
volumes:
- ./esdata:/usr/share/elasticsearch/data