-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (36 loc) · 1.06 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
version: "3.8"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTIC_VERSION}
volumes:
- data-elasticsearch:/usr/share/elasticsearch/data
networks:
- elasticsearch
ports:
- 9200:9200
environment:
- node.name=elasticsearch
- cluster.name=gramofon
- cluster.initial_master_nodes=elasticsearch
- discovery.seed_hosts=elasticsearch
- network.host=elasticsearch,_local_
- network.publish_host=elasticsearch
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- ES_JAVA_OPTS=-Xms2G -Xmx2G
ulimits: { nofile: { soft: 65535, hard: 65535 }, memlock: -1 }
healthcheck:
test: curl --head --max-time 120 --retry 120 --retry-delay 1 --show-error --silent http://localhost:9200
jupyterlab:
image: jupyter/base-notebook
volumes:
- $PWD/content:/home/jovyan/work
networks:
- elasticsearch
ports:
- 8888:8888
networks:
elasticsearch:
volumes:
data-elasticsearch: