精简提交历史记录
This commit is contained in:
4
apps/xunsearch/latest/.env.sample
Normal file
4
apps/xunsearch/latest/.env.sample
Normal file
@@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME="xunsearch"
|
||||
INDEX_SERVER_PORT="40110"
|
||||
SEARCH_SERVER_PORT="40111"
|
||||
DATA_PATH="./data"
|
||||
25
apps/xunsearch/latest/data.yml
Normal file
25
apps/xunsearch/latest/data.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40110
|
||||
edit: true
|
||||
envKey: INDEX_SERVER_PORT
|
||||
labelEn: Index server Port
|
||||
labelZh: 索引服务端配置端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 40111
|
||||
edit: true
|
||||
envKey: SEARCH_SERVER_PORT
|
||||
labelEn: Search server port
|
||||
labelZh: 搜索服务端配置端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data
|
||||
edit: true
|
||||
envKey: DATA_PATH
|
||||
labelEn: Data folder path
|
||||
labelZh: 数据文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
19
apps/xunsearch/latest/docker-compose.yml
Normal file
19
apps/xunsearch/latest/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
xunsearch:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${INDEX_SERVER_PORT}:8383"
|
||||
- "${SEARCH_SERVER_PORT}:8384"
|
||||
volumes:
|
||||
- ${DATA_PATH}:/usr/local/xunsearch/data
|
||||
image: hightman/xunsearch:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user