diff --git a/bin/es-docker/Dockerfile b/bin/es-docker/Dockerfile index 0a3954ab8..a16e5ba38 100644 --- a/bin/es-docker/Dockerfile +++ b/bin/es-docker/Dockerfile @@ -1,4 +1,4 @@ -ARG ES_VERSION=7.10.2 +ARG ES_VERSION=8.16.1 FROM docker.elastic.co/elasticsearch/elasticsearch:${ES_VERSION} RUN if [ -d plugins/ingest-attachment ]; then true ; else ./bin/elasticsearch-plugin install ingest-attachment -b; fi diff --git a/bin/es-docker/docker-compose.yml b/bin/es-docker/docker-compose.yml index 5faa89e95..cbea564c1 100644 --- a/bin/es-docker/docker-compose.yml +++ b/bin/es-docker/docker-compose.yml @@ -4,7 +4,7 @@ services: dockerfile: Dockerfile context: . args: - ES_VERSION: ${ES_VERSION-7.10.2} + ES_VERSION: ${ES_VERSION-8.16.1} ports: - 8890:9200 mem_limit: 1024M diff --git a/package.json b/package.json index c88060508..35cf6b74e 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "env:start": "wp-env start && npm run env:install-tests-cli && npm run es:start", "env:stop": "wp-env stop && npm run es:stop", "env:reset": "wp-env clean all && npm run env:start && npm run cypress:setup", - "es:start": "cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-7.10.2} && docker compose up -d", + "es:start": "cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-8.16.1} && docker compose up -d", "es:stop": "cd bin/es-docker/ && docker compose down", "cypress:setup": "./bin/setup-cypress-env.sh", "cypress:open": "cypress open --config-file tests/cypress/config.js",