Skip to content

Commit 38c12fc

Browse files
committed
fix: update Elasticsearch configuration for health checks
1 parent 3043585 commit 38c12fc

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/magento-compatibility.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,12 @@ jobs:
3232
- 3306:3306
3333
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
3434

35-
opensearch:
36-
image: opensearchproject/opensearch:2.11.0
37-
ports:
38-
- 9200:9200
35+
elasticsearch:
36+
image: elasticsearch:7.17.0
3937
env:
4038
discovery.type: single-node
41-
ES_JAVA_OPTS: -Xms512m -Xmx512m
42-
ES_SKIP_CGROUPS_CHECK: "true"
43-
options: --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
39+
JAVA_OPTS: "-Djdk.disableLastCgroup=true"
40+
options: --health-cmd="curl -s http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
4441

4542
steps:
4643
- name: Checkout code

0 commit comments

Comments
 (0)