From c1384c831659f3a5981f11666dc03f888fb0320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Thu, 20 Jul 2023 17:58:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20Elasticsearch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/elasticsearch/8.8.2/data.yml | 33 +++++++++++++++++ apps/elasticsearch/8.8.2/docker-compose.yml | 37 ++++++++++++++++++++ apps/elasticsearch/README.md | 0 apps/elasticsearch/data.yml | 19 ++++++++++ apps/elasticsearch/logo.png | Bin 0 -> 10408 bytes 5 files changed, 89 insertions(+) create mode 100644 apps/elasticsearch/8.8.2/data.yml create mode 100644 apps/elasticsearch/8.8.2/docker-compose.yml create mode 100644 apps/elasticsearch/README.md create mode 100644 apps/elasticsearch/data.yml create mode 100644 apps/elasticsearch/logo.png diff --git a/apps/elasticsearch/8.8.2/data.yml b/apps/elasticsearch/8.8.2/data.yml new file mode 100644 index 00000000..1fba924f --- /dev/null +++ b/apps/elasticsearch/8.8.2/data.yml @@ -0,0 +1,33 @@ +additionalProperties: + formFields: + - default: 9200 + edit: true + envKey: HTTP_PORT + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: 9300 + edit: true + envKey: TRANS_PORT + labelEn: Trans Port + labelZh: 集群端口 + required: true + rule: paramPort + type: number + - default: "-Xms512m -Xmx512m" + edit: true + envKey: ES_JAVA_OPTS + labelEn: ES_JAVA_OPTS + labelZh: ES_JAVA_OPTS + required: true + type: text + - default: 2zcCI9CQcJqZpRpdZLft + edit: true + envKey: ELASTIC_PASSWORD + labelEn: Password + labelZh: 密码 + required: true + rule: paramPassword + type: password diff --git a/apps/elasticsearch/8.8.2/docker-compose.yml b/apps/elasticsearch/8.8.2/docker-compose.yml new file mode 100644 index 00000000..cda56d18 --- /dev/null +++ b/apps/elasticsearch/8.8.2/docker-compose.yml @@ -0,0 +1,37 @@ +version: '3.8' +services: + es: + image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2 + container_name: ${CONTAINER_NAME} + restart: always + ports: + - ${HTTP_PORT}:9200 + - ${TRANS_PORT}:9300 + volumes: + - ./data/data/:/usr/share/elasticsearch/data + - ./data/logs/:/usr/share/elasticsearch/logs + environment: + cluster.name: docker-cluster + discovery.type: single-node + network.host: 0.0.0.0 + bootstrap.memory_lock: "true" + xpack.security.enabled: "true" + TAKE_FILE_OWNERSHIP: "true" + ES_JAVA_OPTS: ${ES_JAVA_OPTS} + ELASTIC_PASSWORD: ${ELASTIC_PASSWORD} + ulimits: + memlock: + soft: '-1' + hard: '-1' + healthcheck: + test: "curl -sL http://localhost:9200 > /dev/null" + interval: 10s + timeout: 5s + retries: 3 + start_period: 30s + networks: + - 1panel-network + +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/elasticsearch/README.md b/apps/elasticsearch/README.md new file mode 100644 index 00000000..e69de29b diff --git a/apps/elasticsearch/data.yml b/apps/elasticsearch/data.yml new file mode 100644 index 00000000..8d21493d --- /dev/null +++ b/apps/elasticsearch/data.yml @@ -0,0 +1,19 @@ +name: Elasticsearch +tags: + - 工具 +title: 分布式、RESTful 风格的搜索和数据分析引擎 +type: 工具 +description: 分布式、RESTful 风格的搜索和数据分析引擎 +additionalProperties: + key: elasticsearch + name: Elasticsearch + tags: + - Tool + shortDescZh: Elasticsearch 是一个分布式、RESTful 风格的搜索和数据分析引擎,能够解决不断涌现出的各种用例。 + shortDescEn: Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. + type: tool + crossVersionUpdate: true + limit: 1 + website: https://www.elastic.co/elasticsearch/ + github: https://github.com/elastic/elasticsearch/tree/8.8/distribution/docker + document: https://www.elastic.co/guide/index.html \ No newline at end of file diff --git a/apps/elasticsearch/logo.png b/apps/elasticsearch/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..d1b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