-
Notifications
You must be signed in to change notification settings - Fork 118
/
docker-compose.yml
52 lines (47 loc) · 1.04 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
version: '2.2'
services:
fluent-bit:
image: fluent/fluent-bit:1.5
volumes:
- ./fluent-bit/conf:/fluent-bit/etc
links:
- "elasticsearch"
ports:
- 24224:24224
- 5140:5140/udp
- 2020:2020
logging:
driver: "json-file"
options:
max-size: 100m
max-file: "5"
networks:
- elastic
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.8.1
container_name: es01
ports:
- "9200:9200"
networks:
- elastic
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- bootstrap.memory_lock=false
- cluster.initial_master_nodes=es01
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
kibana:
image: docker.elastic.co/kibana/kibana:7.8.1
container_name: kib01
links:
- "elasticsearch"
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://es01:9200
ELASTICSEARCH_HOSTS: http://es01:9200
networks:
- elastic
networks:
elastic:
driver: bridge