-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (43 loc) · 1 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
version: "3"
services:
elasticsearch:
build:
context: ./elasticsearch
dockerfile: dockerfile_elastic
environment:
- discovery.type=single-node
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
volumes:
- ./elasticsearch/es-data:/usr/share/elasticsearch/data
kibana:
image: docker.elastic.co/kibana/kibana:7.5.0
ports:
- 5601:5601
jupyter:
build:
context: ./jupyter
dockerfile: dockerfile_jupyter
user: root
environment:
#NB_UID: 500
#NB_GID: 100
NB_UID: 1000
NB_GID: 1000
GRANT_SUDO: "yes"
TZ: "Asia/Tokyo"
JUPYTER_ENABLE_LAB: "yes"
ports:
- "8888:8888"
volumes:
- "./jupyter/data:/home/jovyan/work"
privileged: true
command: start.sh jupyter lab --NotebookApp.token='' --no-browser