-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use default ES configuration by ddev-elasticsearch - Use docker-compose.elasticsearch_extra.yaml to only override the image to use ES8 + install analysis-ukrainian and analysis-icu.
- Loading branch information
1 parent
431634f
commit 29deea6
Showing
5 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: elasticsearch | ||
repository: ddev/ddev-elasticsearch | ||
version: v0.3.2 | ||
install_date: "2024-08-13T10:51:11+03:00" | ||
project_files: | ||
- elasticsearch/ | ||
- docker-compose.elasticsearch.yaml | ||
global_files: [] | ||
removal_actions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#ddev-generated | ||
services: | ||
elasticsearch: | ||
container_name: ddev-${DDEV_SITENAME}-elasticsearch | ||
hostname: ${DDEV_SITENAME}-elasticsearch | ||
image: elasticsearch:7.17.14 | ||
expose: | ||
- "9200" | ||
- "9300" | ||
environment: | ||
- cluster.name=docker-cluster | ||
- discovery.type=single-node | ||
- bootstrap.memory_lock=true | ||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" | ||
- VIRTUAL_HOST=$DDEV_HOSTNAME | ||
- HTTP_EXPOSE=9200:9200 | ||
- HTTPS_EXPOSE=9201:9200 | ||
labels: | ||
com.ddev.site-name: ${DDEV_SITENAME} | ||
com.ddev.approot: $DDEV_APPROOT | ||
volumes: | ||
- elasticsearch:/usr/share/elasticsearch/data | ||
- ".:/mnt/ddev_config" | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl --fail -s elasticsearch:9200"] | ||
|
||
volumes: | ||
elasticsearch: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Overrides for default Elasticsearch configuration. | ||
services: | ||
elasticsearch: | ||
image: elasticsearch:8.10.2 | ||
volumes: | ||
- ./elasticsearch/config/elasticsearch8.yml:/usr/share/elasticsearch/config/elasticsearch.yml | ||
command: > | ||
/bin/sh -c "./bin/elasticsearch-plugin install analysis-ukrainian analysis-icu; /usr/local/bin/docker-entrypoint.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ddev-generated | ||
# This file contains the configuration settings for Elasticsearch 8. | ||
# For more information, see https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html | ||
|
||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#cluster-name | ||
cluster.name: "docker-cluster" | ||
|
||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html#network.host | ||
network.host: 0.0.0.0 | ||
|
||
# Disable security features | ||
# https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html#general-security-settings | ||
xpack.security.enabled: false | ||
xpack.security.autoconfiguration.enabled: false | ||
xpack.security.enrollment.enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ddev-generated | ||
services: | ||
elasticsearch: | ||
image: elasticsearch:8.10.2 | ||
volumes: | ||
- ./elasticsearch/config/elasticsearch8.yml:/usr/share/elasticsearch/config/elasticsearch.yml |