-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.34 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
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.6.0
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- http.host=0.0.0.0
- transport.host=127.0.0.1
- discovery.type=single-node
- bootstrap.memory_lock=true
- http.max_content_length=1024mb
- xpack.security.enabled=true
- ELASTIC_PASSWORD=5t4ch380x!
- bootstrap.password=5t4ch380x!
ports:
- "9200:9200"
- "9300:9300"
elastic-apm:
image: elastic/apm-server:8.6.1
user: apm-server
volumes:
- ./build/docker/elastic-apm/apm-server.config.yml:/usr/share/apm-server/apm-server.yml:ro
ports:
- "8200:8200"
kibana:
image: kibana:8.6.0
environment:
SERVER_NAME: kibana
ELASTICSEARCH_HOSTS: 'http://elasticsearch:9200'
ELASTICSEARCH_USERNAME: kibana_system
ELASTICSEARCH_PASSWORD: "5t4ch380x!"
XPACK_MONITORING_ENABLED: "true"
XPACK_MONITORING_COLLECTION_ENABLED: "true"
XPACK_SECURITY_ENABLED: "true"
ports:
- "5601:5601"
logstash:
image: logstash:8.6.0
ports:
- "5044:5044"
environment:
ES_JAVA_OPTS: -Xms256m -Xmx256m
xpack.monitoring.elasticsearch.host: 'http://elasticsearch:9200'
xpack.monitoring.elasticsearch.username: elastic
xpack.monitoring.elasticsearch.password: "5t4ch380x!"