Skip to content

Commit 8aaa47b

Browse files
committed
add ElasticSearch docker image
1 parent 787ed3e commit 8aaa47b

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,15 @@ services:
66
- "6333:6333" # Dashboard: http://localhost:6333/dashboard
77
volumes:
88
- ./assets/qdrant_data:/qdrant/storage
9+
elasticsearch:
10+
build:
11+
dockerfile: elasticsearch.Dockerfile
12+
container_name: elasticsearch
13+
ports:
14+
- "9200:9200"
15+
- "9300:9300"
16+
environment:
17+
- discovery.type=single-node
18+
- xpack.security.enabled=false
19+
volumes:
20+
- ./assets/es_data:/usr/share/elasticsearch/data

elasticsearch.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM docker.elastic.co/elasticsearch/elasticsearch:9.1.0
2+
3+
RUN bin/elasticsearch-plugin install analysis-kuromoji
4+
RUN bin/elasticsearch-plugin install analysis-icu

0 commit comments

Comments
 (0)