-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
71 lines (65 loc) · 1.59 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
67
68
69
70
71
version: "3.1"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.2.3
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "http.port=9200"
- "http.cors.allow-origin=http://localhost:1358,http://127.0.0.1:1358"
- "http.cors.enabled=true"
- "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization"
- "http.cors.allow-credentials=true"
ports:
- 127.0.0.1:9200:9200
- 127.0.0.1:9300:9300
volumes:
- ./tmp/elastichsearch:/usr/share/elasticsearch/data
networks:
- esnet
dejavu:
image: appbaseio/dejavu:latest
ports:
- 127.0.0.1:1358:1358
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana:6.2.3
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ports:
- 127.0.0.1:5601:5601
networks:
- esnet
portainer:
image: portainer/portainer
ports:
- 127.0.0.1:9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
- esnet
# You need to build the fluentd docker image
# to install the elasticsearch gem plugin
fluentd:
build: ./fluentd
ports:
- 127.0.0.1:24224:24224
- 127.0.0.1:24224:24224/udp
volumes:
- ./config:/fluentd/etc
environment:
- FLUENTD_CONF=fluentd.conf
web:
image: httpd
ports:
- 127.0.0.1:80:80
logging:
driver: fluentd
options:
tag: docker.httpd
networks:
- esnet
networks:
esnet:
external: true