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 00000000..d1b7b98d Binary files /dev/null and b/apps/elasticsearch/logo.png differ