Skip to content

Commit e86b891

Browse files
committed
Install phonetic search plugin in production ES container
1 parent 181e0a7 commit e86b891

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

production/docker-compose-01-base-services.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ services:
105105
- 15672:15672
106106

107107
elastic:
108-
image: elasticsearch:8.4.1
108+
image: elasticsearch:8.16.0
109109
hostname: elastic
110110
environment:
111111
- discovery.type=single-node
@@ -125,3 +125,8 @@ services:
125125
- /srv/workspace-data/elastic-data:/usr/share/elasticsearch/data:delegated
126126
ports:
127127
- 9200:9200
128+
command: >
129+
/bin/sh -c "
130+
./bin/elasticsearch-plugin remove nyingarn-phonetic-search;
131+
./bin/elasticsearch-plugin install https://github.com/r-tae/nyingarn-phonetic-search/releases/download/v1.0.0/nyingarn-phonetic-search-1.0-SNAPSHOT.zip;
132+
/usr/local/bin/docker-entrypoint.sh"

0 commit comments

Comments
 (0)