forked from clincapp/docker-elk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 854 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
35
36
37
38
39
40
41
42
43
44
45
version: '2'
services:
elasticsearch:
build: elasticsearch/
ports:
- "9200:9200"
- "9300:9300"
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
networks:
- docker_elk
logstash:
build: logstash/
command: -f /etc/logstash/conf.d/
volumes:
- ./logstash/config:/etc/logstash/conf.d
- clincapi_api-log-data:/etc/logstash/logging/
ports:
# 5000 - delete?
# - "5000:5000"
- "6010:6010"
- "6020:6020"
networks:
- docker_elk
- clincapi_default
kibana:
build: kibana/
volumes:
- ./kibana/config/:/opt/kibana/config/
ports:
- "5601:5601"
networks:
- docker_elk
volumes:
clincapi_api-log-data:
external: true
networks:
docker_elk:
driver: bridge
clincapi_default:
external:
name: clincapi_default