-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #247 from 1Panel-dev/origin/pr@main@feat_elasticse…
…arch feat: 添加 Elasticsearch
- Loading branch information
Showing
5 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.