mirror of
https://github.com/QYG2297248353/appstore-dpanel
synced 2025-12-29 08:01:36 +08:00
Synced apps from source repository via GitHub Actions
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: sn0wl1n/ech0:v2.5.5
|
||||
image: sn0wl1n/ech0:v2.5.6
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -0,0 +1,21 @@
|
||||
# 数据持久化路径 [必填]
|
||||
TELEGRAM_SEARCH_ROOT_PATH=/home/telegram-search
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=3333
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
POSTGRES_DATABASE=telegram_search
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
POSTGRES_USER=telegram_search
|
||||
|
||||
# 数据库 密码 [必填]
|
||||
POSTGRES_PASSWORD=telegram_search
|
||||
|
||||
# Telegram 应用程序 ID
|
||||
TELEGRAM_API_ID=
|
||||
|
||||
# Telegram 应用程序 哈希
|
||||
TELEGRAM_API_HASH=
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
database:
|
||||
# Database type: postgres, pglite
|
||||
type: postgres
|
||||
host: telegram_search_pgvector
|
||||
port: 5432
|
||||
user: postgres
|
||||
password: 'telegram_search'
|
||||
database: postgres
|
||||
|
||||
api:
|
||||
telegram:
|
||||
apiId: '611335'
|
||||
apiHash: d524b414d21f4d37f08684c1df41ac9c
|
||||
receiveMessage: false
|
||||
proxy:
|
||||
ip: ''
|
||||
port: 0
|
||||
MTProxy: false
|
||||
secret: ''
|
||||
socksType: 5
|
||||
timeout: 2
|
||||
username: ''
|
||||
password: ''
|
||||
embedding:
|
||||
# Embedding provider (openai or ollama)
|
||||
provider: openai
|
||||
# Embedding model
|
||||
model: text-embedding-3-small
|
||||
# API key for provider
|
||||
apiKey: your_openai_api_key
|
||||
# Optional, available dimensions: 1536, 1024, 768. Default dimension is 1536. #If using gemini-embedding-exp-03-07, choose 768
|
||||
dimension: 1536
|
||||
# Optional, for custom API providers
|
||||
apiBase: 'https://api.openai.com/v1'
|
||||
@@ -0,0 +1,4 @@
|
||||
ALTER SYSTEM SET vectors.pgvector_compatibility=on;
|
||||
|
||||
DROP EXTENSION IF EXISTS vectors;
|
||||
CREATE EXTENSION vectors;
|
||||
@@ -0,0 +1,52 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/telegram-search"
|
||||
edit: true
|
||||
envKey: TELEGRAM_SEARCH_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 3333
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "telegram_search"
|
||||
edit: true
|
||||
envKey: POSTGRES_DATABASE
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "telegram_search"
|
||||
edit: true
|
||||
envKey: POSTGRES_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: "telegram_search"
|
||||
edit: true
|
||||
envKey: POSTGRES_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
required: true
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAM_API_ID
|
||||
labelZh: Telegram 应用程序 ID
|
||||
labelEn: Telegram APPID
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: TELEGRAM_API_HASH
|
||||
labelZh: Telegram 应用程序 哈希
|
||||
labelEn: Telegram APP HASH
|
||||
required: false
|
||||
type: text
|
||||
@@ -0,0 +1,49 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
telegram_search:
|
||||
container_name: telegram-search
|
||||
depends_on:
|
||||
telegram_search_pgvector:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- DATABASE_TYPE=postgres
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@telegram_search_pgvector:5432/${POSTGRES_DATABASE}
|
||||
image: ghcr.io/groupultra/telegram-search:1.1.9
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3333
|
||||
restart: always
|
||||
volumes:
|
||||
- ${TELEGRAM_SEARCH_ROOT_PATH}/data:/app/data
|
||||
telegram_search_pgvector:
|
||||
container_name: db-telegram-search
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
|
||||
healthcheck:
|
||||
interval: 10s
|
||||
retries: 5
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- pg_isready -d postgres -U postgres
|
||||
timeout: 5s
|
||||
image: ghcr.io/tensorchord/pgvecto-rs:pg17-v0.4.0
|
||||
networks:
|
||||
- 1panel-network
|
||||
restart: always
|
||||
volumes:
|
||||
- ./config/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
- ${TELEGRAM_SEARCH_ROOT_PATH}/db:/var/lib/postgresql/data
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -0,0 +1,15 @@
|
||||
# Telegram Search
|
||||
|
||||
Telegram 聊天搜索工具,具有矢量搜索和语义匹配功能
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
功能强大的 Telegram 聊天搜索工具,具有矢量搜索和语义匹配功能。
|
||||
|
||||
---
|
||||
|
||||

|
||||
@@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: telegram-search
|
||||
name: Telegram Search
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: Telegram 聊天搜索工具
|
||||
shortDescEn: Telegram Chat Search Tool
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://search.lingogram.app/
|
||||
github: https://github.com/groupultra/telegram-search/
|
||||
document: https://github.com/groupultra/telegram-search/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1 @@
|
||||
<svg id="Livello_1" data-name="Livello 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 240 240"><defs><linearGradient id="linear-gradient" x1="120" y1="240" x2="120" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#1d93d2"/><stop offset="1" stop-color="#38b0e3"/></linearGradient></defs><title>Telegram_logo</title><circle cx="120" cy="120" r="120" fill="url(#linear-gradient)"/><path d="M81.229,128.772l14.237,39.406s1.78,3.687,3.686,3.687,30.255-29.492,30.255-29.492l31.525-60.89L81.737,118.6Z" fill="#c8daea"/><path d="M100.106,138.878l-2.733,29.046s-1.144,8.9,7.754,0,17.415-15.763,17.415-15.763" fill="#a9c6d8"/><path d="M81.486,130.178,52.2,120.636s-3.5-1.42-2.373-4.64c.232-.664.7-1.229,2.1-2.2,6.489-4.523,120.106-45.36,120.106-45.36s3.208-1.081,5.1-.362a2.766,2.766,0,0,1,1.885,2.055,9.357,9.357,0,0,1,.254,2.585c-.009.752-.1,1.449-.169,2.542-.692,11.165-21.4,94.493-21.4,94.493s-1.239,4.876-5.678,5.043A8.13,8.13,0,0,1,146.1,172.5c-8.711-7.493-38.819-27.727-45.472-32.177a1.27,1.27,0,0,1-.546-.9c-.093-.469.417-1.05.417-1.05s52.426-46.6,53.821-51.492c.108-.379-.3-.566-.848-.4-3.482,1.281-63.844,39.4-70.506,43.607A3.21,3.21,0,0,1,81.486,130.178Z" fill="#fff"/></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user