Skip to content

Commit 3930461

Browse files
committed
Default port for elasticsearch from 9300 to 9200 since with the upgraded to v7 we now use the HTTP port to connect.
Changed default Elasticsearch cluster name to `clowder` since that is what we use in the docker compose. Rolled back change to the name of the elasticsearch volume.
1 parent 00515d1 commit 3930461

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

conf/application.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ irods.usercurrent=/tempZone/home/public
312312
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313313
# Elasticsearch
314314
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315-
elasticsearchSettings.clusterName=""
315+
elasticsearchSettings.clusterName="clowder"
316316
elasticsearchSettings.serverAddress="localhost"
317-
elasticsearchSettings.serverPort=9300
317+
elasticsearchSettings.serverPort=9200
318318
elasticsearchSettings.indexNamePrefix="clowder"
319319
elasticsearchSettings.maxResults=240
320320
elasticsearchSettings.useQueue=true

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ services:
132132

133133
# search index (optional, needed for search and sorting future)
134134
elasticsearch:
135-
image: docker.elastic.co/elasticsearch/elasticsearch:7.7.0
135+
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
136136
container_name: elasticsearch
137137
environment:
138138
- discovery.type=single-node
@@ -147,7 +147,7 @@ services:
147147
- clowder
148148
restart: unless-stopped
149149
volumes:
150-
- es:/usr/share/elasticsearch/data
150+
- elasticsearch:/usr/share/elasticsearch/data
151151

152152
# monitor clowder extractors
153153
monitor:
@@ -183,4 +183,4 @@ volumes:
183183
clowder-custom:
184184
mongo:
185185
rabbitmq:
186-
es:
186+
elasticsearch:

0 commit comments

Comments
 (0)