chore: elasticsearch URL, fromatting and add category

This commit is contained in:
peaklabs-dev
2025-08-18 18:30:06 +02:00
parent df540d35a7
commit cf299029b9

View File

@@ -1,6 +1,7 @@
# documentation: https://www.elastic.co/products/elasticsearch # documentation: https://www.elastic.co/products/elasticsearch
# slogan: Elasticsearch is free and Open Source, Distributed, RESTful Search Engine. # slogan: Elasticsearch is free and Open Source, Distributed, RESTful Search Engine.
# tags: search,engine,fulltext,full,text,elasticsearch # tags: search,engine,fulltext,full,text,elasticsearch
# category: search
# logo: svgs/elasticsearch.svg # logo: svgs/elasticsearch.svg
# port: 9200 # port: 9200
@@ -8,7 +9,7 @@ services:
elasticsearch: elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:8.19.0 image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:8.19.0
environment: environment:
- SERVICE_FQDN_ELASTICSEARCH_9200 - SERVICE_URL_ELASTICSEARCH_9200
- ELASTIC_PASSWORD=${SERVICE_PASSWORD_ELASTICSEARCH} - ELASTIC_PASSWORD=${SERVICE_PASSWORD_ELASTICSEARCH}
- ES_JAVA_OPTS=-Xms512m -Xmx512m # memory set to 512MB - ES_JAVA_OPTS=-Xms512m -Xmx512m # memory set to 512MB
- discovery.type=single-node - discovery.type=single-node
@@ -20,7 +21,7 @@ services:
test: test:
[ [
"CMD-SHELL", "CMD-SHELL",
"curl --user elastic:${SERVICE_PASSWORD_ELASTICSEARCH} --silent --fail http://localhost:9200/_cluster/health" "curl --user elastic:${SERVICE_PASSWORD_ELASTICSEARCH} --silent --fail http://localhost:9200/_cluster/health",
] ]
interval: 10s interval: 10s
timeout: 10s timeout: 10s