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:
@@ -10,7 +10,7 @@ services:
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.131.2
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.132.3
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
@@ -0,0 +1,54 @@
|
||||
# Redis 服务 (前置检查) [必填]
|
||||
PANEL_REDIS_TYPE=redis
|
||||
|
||||
# 数据持久化路径 [必填]
|
||||
IMMICH_ROOT_PATH=/home/immich-app
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=2283
|
||||
|
||||
# 机器学习端口 [必填]
|
||||
PANEL_APP_PORT_MACHINE_LEARNING=3003
|
||||
|
||||
# 数据库连接密码 [必填]
|
||||
DB_PASSWORD=
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
PANEL_APP_PORT_DB=5432
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
DB_HOSTNAME=immich-pg14-vectors
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
DB_USERNAME=postgres
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
DB_DATABASE_NAME=immich
|
||||
|
||||
# Redis 主机 [必填]
|
||||
REDIS_HOSTNAME=127.0.0.1
|
||||
|
||||
# Redis 端口 [必填]
|
||||
REDIS_PORT=6379
|
||||
|
||||
# Redis 索引 [必填]
|
||||
REDIS_DBINDEX=0
|
||||
|
||||
# Redis 用户名
|
||||
REDIS_USERNAME=
|
||||
|
||||
# Redis 密码
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# 机器学习 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__CLIP=XLM-Roberta-Large-Vit-B-16Plus
|
||||
|
||||
# 人脸识别 预加载模型
|
||||
MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION=buffalo_l
|
||||
|
||||
# Hugging Face 服务地址
|
||||
HF_ENDPOINT=https://hf-mirror.com
|
||||
|
||||
# 是否跳过目录检查
|
||||
IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_REDIS_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: redis
|
||||
envKey: PANEL_REDIS_TYPE
|
||||
labelZh: Redis 服务 (前置检查)
|
||||
labelEn: Redis Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: Redis
|
||||
value: redis
|
||||
- default: "/home/immich-app"
|
||||
edit: true
|
||||
envKey: IMMICH_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 2283
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 3003
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_MACHINE_LEARNING
|
||||
labelZh: 机器学习端口
|
||||
labelEn: Machine Learning port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DB_PASSWORD
|
||||
labelEn: Database Password
|
||||
labelZh: 数据库连接密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 5432
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_DB
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "immich-pg14-vectors"
|
||||
disabled: true
|
||||
envKey: DB_HOSTNAME
|
||||
labelZh: 数据库 主机地址
|
||||
labelEn: Database Host
|
||||
required: true
|
||||
type: text
|
||||
- default: "postgres"
|
||||
disabled: true
|
||||
envKey: DB_USERNAME
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database User
|
||||
required: true
|
||||
type: text
|
||||
- default: "immich"
|
||||
disabled: true
|
||||
envKey: DB_DATABASE_NAME
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: REDIS_HOSTNAME
|
||||
labelZh: Redis 主机
|
||||
labelEn: Redis Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 6379
|
||||
edit: true
|
||||
envKey: REDIS_PORT
|
||||
labelZh: Redis 端口
|
||||
labelEn: Redis Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 0
|
||||
edit: true
|
||||
envKey: REDIS_DBINDEX
|
||||
labelZh: Redis 索引
|
||||
labelEn: Redis Index
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_USERNAME
|
||||
labelZh: Redis 用户名
|
||||
labelEn: Redis Username
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: REDIS_PASSWORD
|
||||
labelZh: Redis 密码
|
||||
labelEn: Redis Password
|
||||
required: false
|
||||
type: password
|
||||
- default: "XLM-Roberta-Large-Vit-B-16Plus"
|
||||
edit: true
|
||||
envKey: MACHINE_LEARNING_PRELOAD__CLIP
|
||||
labelEn: Machine Learning Preload Model
|
||||
labelZh: 机器学习 预加载模型
|
||||
required: false
|
||||
type: text
|
||||
- default: "buffalo_l"
|
||||
edit: true
|
||||
envKey: MACHINE_LEARNING_PRELOAD__FACIAL_RECOGNITION
|
||||
labelEn: Machine Learning Preload Model
|
||||
labelZh: 人脸识别 预加载模型
|
||||
required: false
|
||||
type: select
|
||||
values:
|
||||
- label: antelopev2
|
||||
value: "antelopev2"
|
||||
- label: buffalo_l
|
||||
value: "buffalo_l"
|
||||
- label: buffalo_m
|
||||
value: "buffalo_m"
|
||||
- label: buffalo_s
|
||||
value: "buffalo_s"
|
||||
- default: "https://hf-mirror.com"
|
||||
edit: true
|
||||
envKey: HF_ENDPOINT
|
||||
labelZh: Hugging Face 服务地址
|
||||
labelEn: Hugging Face Endpoint
|
||||
rule: paramExtUrl
|
||||
required: false
|
||||
type: text
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: IMMICH_IGNORE_MOUNT_CHECK_ERRORS
|
||||
labelZh: 是否跳过目录检查
|
||||
labelEn: Skip Mount Check
|
||||
required: false
|
||||
type: select
|
||||
values:
|
||||
- label: 跳过检查
|
||||
value: "true"
|
||||
- label: 不跳过检查
|
||||
value: "false"
|
||||
@@ -0,0 +1,58 @@
|
||||
name: immich
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning-immich
|
||||
devices: &id001
|
||||
- /dev/dri:/dev/dri
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.133.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_MACHINE_LEARNING}:3003
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/cache:/cache
|
||||
immich-pg14-vectors:
|
||||
container_name: pg14-vectors-immich
|
||||
environment:
|
||||
POSTGRES_DB: ${DB_DATABASE_NAME:-immich}
|
||||
POSTGRES_INITDB_ARGS: --data-checksums
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USERNAME:-postgres}
|
||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_DB:-5432}:5432
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
|
||||
immich-server:
|
||||
container_name: immich-server-immich
|
||||
depends_on:
|
||||
- immich-pg14-vectors
|
||||
devices: *id001
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
image: ghcr.io/immich-app/immich-server:v1.133.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:2283
|
||||
restart: always
|
||||
volumes:
|
||||
- ${IMMICH_ROOT_PATH}/data/library:/usr/src/app/upload
|
||||
- /etc/localtime:/etc/localtime
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user