-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (56 loc) · 1.23 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
version: '2.0'
services:
loadbalancer:
build: iosr-loadbalancer
ports:
- "8765:8765"
restart: always
depends_on:
- logstash
eureka:
build: iosr-server
restart: always
depends_on:
- logstash
project:
build: iosr-project
restart: always
depends_on:
- logstash
logging:
driver: syslog
options:
syslog-address: "tcp://127.0.0.1:25826"
manipulator:
build: iosr-manipulation-service
restart: always
depends_on:
- logstash
logging:
driver: syslog
options:
syslog-address: "tcp://127.0.0.1:25826"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.2.2
ports:
- "9200:9200"
environment:
- "xpack.security.enabled=false"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
kibana:
image: docker.elastic.co/kibana/kibana:5.2.2
ports:
- "5601:5601"
environment:
- "xpack.security.enabled=false"
depends_on:
- elasticsearch
logstash:
image: docker.elastic.co/logstash/logstash:5.2.2
ports:
- "25826:25826"
volumes:
- $PWD/elk-config:/elk-config
command: logstash -f /elk-config/logstash.config
depends_on:
- elasticsearch