-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (57 loc) · 1.48 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
version: "3"
services:
elasticsearch:
image: elasticsearch:7.12.1
container_name: ${APP_NAME}_elasticsearch_${APP_INSTANCE}
restart: unless-stopped
volumes:
- ./config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./data/elasticsearch:/usr/share/elasticsearch/data
ports:
- 127.0.0.1:9200:9200
env_file:
- .env
- .env.local
logging:
driver: json-file
options:
max-size: "1m"
max-file: "10"
kibana:
image: kibana:7.12.1
container_name: ${APP_NAME}_kibana_${APP_INSTANCE}
restart: unless-stopped
volumes:
- ./config/kibana/kibana.yml:/usr/share/kibana/config/kibana.yml
ports:
- 127.0.0.1:5601:5601
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_USERNAME=$ELASTIC_USERNAME
- ELASTICSEARCH_PASSWORD=$ELASTIC_PASSWORD
env_file:
- .env
- .env.local
logging:
driver: json-file
options:
max-size: "1m"
max-file: "10"
logstash:
image: logstash:7.12.1
container_name: ${APP_NAME}_logstash_${APP_INSTANCE}
restart: unless-stopped
volumes:
- ./config/logstash/logstash.yml:/usr/share/logstash/config/logstash.yml
- ./config/logstash/pipeline:/usr/share/logstash/pipeline
depends_on:
- elasticsearch
env_file:
- .env
- .env.local
logging:
driver: json-file
options:
max-size: "1m"
max-file: "10"