-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose-elk.yml
More file actions
54 lines (49 loc) · 1.09 KB
/
docker-compose-elk.yml
File metadata and controls
54 lines (49 loc) · 1.09 KB
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
version: '3.3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
container_name: elasticsearch
ports:
- "9200:9200"
- "9300:9300"
environment:
- "xpack.security.enabled=false"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.type=single-node"
expose:
- 9200
# healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost:9200"]
# interval: 10s
# timeout: 5s
# retries: 10
fluentd:
build: ./files/fluentd
container_name: fluentd
volumes:
- ./files/fluentd/conf:/fluentd/etc
ports:
- "24224:24224"
- "24224:24224/udp"
depends_on:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:7.5.2
container_name: kibana
ports:
- "5601:5601"
depends_on:
- elasticsearch
environment:
- "xpack.security.enabled=false"
web:
image: httpd
ports:
- "80:80"
links:
- fluentd
logging:
driver: "fluentd"
options:
fluentd-address: localhost:24224
tag: httpd.access