Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2025-09-28 18:26:06 +00:00
parent 3a2c3b8260
commit 5ff4cf42cb
29 changed files with 352 additions and 2 deletions
+1 -1
View File
@@ -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:
+21
View File
@@ -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=
+34
View File
@@ -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'
+4
View File
@@ -0,0 +1,4 @@
ALTER SYSTEM SET vectors.pgvector_compatibility=on;
DROP EXTENSION IF EXISTS vectors;
CREATE EXTENSION vectors;
+49
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai