-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 873 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (37 loc) · 873 Bytes
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
services:
elasticsearch-dev:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1-arm64
container_name: es-dev
environment:
- cluster.name=es-dev
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
- xpack.security.enabled=false
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
volumes:
- esdata-dev:/usr/share/elasticsearch/data
ports:
- 127.0.0.1:9200:9200
networks:
- esnet
kibana-dev:
image: docker.elastic.co/kibana/kibana:8.11.1-arm64
container_name: kibana-dev
environment:
SERVER_NAME: localhost
ELASTICSEARCH_HOSTS: http://es-dev:9200
ports:
- 127.0.0.1:5601:5601
networks:
- esnet
volumes:
esdata-dev:
driver: local
networks:
esnet:
driver: bridge