mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
feat: 添加 Elasticsearch
This commit is contained in:
parent
aea76ed3da
commit
c1384c8316
33
apps/elasticsearch/8.8.2/data.yml
Normal file
33
apps/elasticsearch/8.8.2/data.yml
Normal file
@ -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
|
37
apps/elasticsearch/8.8.2/docker-compose.yml
Normal file
37
apps/elasticsearch/8.8.2/docker-compose.yml
Normal file
@ -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
|
0
apps/elasticsearch/README.md
Normal file
0
apps/elasticsearch/README.md
Normal file
19
apps/elasticsearch/data.yml
Normal file
19
apps/elasticsearch/data.yml
Normal file
@ -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
|
BIN
apps/elasticsearch/logo.png
Normal file
BIN
apps/elasticsearch/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue
Block a user