-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (34 loc) · 939 Bytes
/
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
version: '3.0'
services:
elasticsearch:
build: .
ports:
- 9200:9200
environment:
- cluster.name=docker-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- http.cors.enabled=true
- http.cors.allow-origin=*
- http.cors.allow-methods=OPTIONS,HEAD,GET,POST,PUT,DELETE
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length
webapp:
build: ./diagnosticos-ICD10
ports:
- 8080:80
links:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:6.6.0
ports:
- 5601:5601
links:
- elasticsearch
logstash:
image: docker.elastic.co/logstash/logstash:6.6.0
command: bash -c "bin/logstash-plugin install logstash-input-file && logstash -f /logstash/logstash_cied10.conf"
links:
- elasticsearch
volumes:
- ./:/logstash