Skip to content

Commit

Permalink
7.11 verision
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuflatland-lf committed May 20, 2021
1 parent 183a2af commit a0d67d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.1"
version: "3.8"
services:
elasticsearch:
build: es
Expand All @@ -17,7 +17,8 @@ services:
- ./es/config/userdict_ja.txt:/usr/share/elasticsearch/config/userdict_ja.txt
- ./es/logs/:/var/log/elasticsearch/
environment:
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
- discovery.type=single-node
- bootstrap.memory_lock=true
- xpack.security.enabled=false
- xpack.graph.enabled=false
Expand All @@ -26,8 +27,9 @@ services:
- xpack.watcher.enabled=false

kibana:
image: docker.elastic.co/kibana/kibana:6.1.4
image: docker.elastic.co/kibana/kibana:7.11.1
ports:
- "5601:5601"
environment:
- xpack.security.enabled=false
- "ELASTICSEARCH_HOSTS=http://elasticsearch:9200"
6 changes: 4 additions & 2 deletions es/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:6.1.3
FROM docker.elastic.co/elasticsearch/elasticsearch:7.11.1

RUN elasticsearch-plugin install analysis-kuromoji
COPY ./elasticsearch-analysis-kuromoji-ipadic-neologd-7.11.1-SNAPSHOT.zip ./

RUN elasticsearch-plugin install file:./elasticsearch-analysis-kuromoji-ipadic-neologd-7.11.1-SNAPSHOT.zip
RUN elasticsearch-plugin install analysis-icu
RUN elasticsearch-plugin install analysis-smartcn
RUN elasticsearch-plugin install analysis-stempel
Binary file not shown.

0 comments on commit a0d67d4

Please sign in to comment.