refactor: meilisearch 应用优化

This commit is contained in:
wanghe-fit2cloud 2023-08-02 18:17:06 +08:00
parent 542f435342
commit 46f1b74d4d
4 changed files with 44 additions and 43 deletions

View File

@ -1,6 +1,6 @@
additionalProperties:
formFields:
- envKey: MEILI_HTTP_ADDR
- envKey: PANEL_APP_PORT_HTTP
default: 7700
labelEn: Port
labelZh: 端口
@ -8,7 +8,6 @@ additionalProperties:
required: true
rule: paramPort
type: number
- envKey: MEILI_MASTER_KEY
default: HmPEKZhcoANzRt3DTPhRQVRxPEVZw7m2TymKwKhs
labelEn: MasterKey
@ -18,27 +17,14 @@ additionalProperties:
random: true
rule: paramComplexity
type: password
- envKey: MEILI_ENV
default: development
labelEn: environment
labelZh: 环境
edit: true
required: true
type: select
values:
- label: development
value: development
- label: production
value: production
- envKey: MEILI_NO_ANALYTICS
default: ' '
default: ''
labelEn: Meilisearch's built-in telemetry
labelZh: Meilisearch 的内置遥测
edit: true
type: select
values:
- label: disable
- label: 开启
value: ''
- label: 关闭
value: --no-analytics
- label: enable
value: ' '

View File

@ -1,16 +1,7 @@
version: "3"
networks:
1panel-network:
external: true
services:
meilisearch:
container_name: ${CONTAINER_NAME}
deploy:
resources:
limits:
cpus: ${CPUS}
memory: ${MEMORY_LIMIT}
networks:
- 1panel-network
image: getmeili/meilisearch:v1.2.0
@ -20,9 +11,9 @@ services:
- /bin/meilisearch ${MEILI_NO_ANALYTICS}
labels:
createdBy: Apps
restart: unless-stopped
restart: always
ports:
- ${HOST_IP}:${MEILI_HTTP_ADDR}:7700
- ${PANEL_APP_PORT_HTTP}:7700
environment:
MEILI_CONFIG_FILE_PATH: /config/config.toml
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
@ -31,3 +22,6 @@ services:
- ./data:/meili_data
- ./dumps:/dumps
- ./snapshots:/snapshots
networks:
1panel-network:
external: true

View File

@ -0,0 +1,15 @@
⚡ A lightning-fast search engine that fits effortlessly into your apps, websites, and workflow 🔍
Meilisearch helps you shape a delightful search experience in a snap, offering features that work out-of-the-box to speed up your workflow.
🔥 [**Try it!**](https://where2watch.meilisearch.com/?utm_campaign=oss&utm_source=github&utm_medium=meilisearch&utm_content=demo-link) 🔥
## 📖 Documentation
You can consult Meilisearch's documentation at [https://www.meilisearch.com/docs](https://www.meilisearch.com/docs/?utm_campaign=oss&utm_source=github&utm_medium=meilisearch&utm_content=docs).
## 🚀 Getting started
For basic instructions on how to set up Meilisearch, add documents to an index, and search for documents, take a look at our [Quick Start](https://www.meilisearch.com/docs/learn/getting_started/quick_start?utm_campaign=oss&utm_source=github&utm_medium=meilisearch&utm_content=get-started) guide.
You may also want to check out [Meilisearch 101](https://www.meilisearch.com/docs/learn/getting_started/filtering_and_sorting?utm_campaign=oss&utm_source=github&utm_medium=meilisearch&utm_content=get-started) for an introduction to some of Meilisearch's most popular features.

View File

@ -1,13 +1,19 @@
name: MeiliSearch
tags:
- 工具
title: 一个开源、快如闪电且高度相关的搜索引擎,可以轻松融入您的工作流程。
type: 工具
description: 一个开源、快如闪电且高度相关的搜索引擎,可以轻松融入您的工作流程。
additionalProperties:
key: meilisearch #应用的 key ,仅限英文,用于在 Linux 创建文件夹
name: MeiliSearch #应用名称
key: meilisearch
name: MeiliSearch
tags:
- Tool #应用标签,可以有多个,请参照下方的标签列表
shortDescZh: 一个开源、快如闪电且高度相关的搜索引擎,可以轻松融入您的工作流程。 #应用中文描述不要超过30个字
shortDescEn: An open-source, lightning-fast, and hyper-relevant search engine that fits effortlessly into your workflow. #应用英文描述
type: tool #应用类型,区别于应用分类,只能有一个,请参照下方的类型列表
crossVersionUpdate: false #是否可以跨大版本升级
limit: 0 #应用安装数量限制0 代表无限制
website: https://www.meilisearch.com #官网地址
github: https://github.com/meilisearch/meilisearch #github 地址
document: https://www.meilisearch.com/docs #文档地址
- Tool
shortDescZh: 一个开源、快如闪电且高度相关的搜索引擎,可以轻松融入您的工作流程
shortDescEn: An open-source, lightning-fast, and hyper-relevant search engine that fits effortlessly into your workflow
type: tool
crossVersionUpdate: false
limit: 0
website: https://www.meilisearch.com
github: https://github.com/meilisearch/meilisearch
document: https://www.meilisearch.com/docs