mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
Processed apps directory via GitHub Actions
This commit is contained in:
@@ -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,85 @@
|
||||
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
|
||||
healthcheck:
|
||||
disable: false
|
||||
image: ghcr.io/immich-app/immich-machine-learning:v1.121.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:
|
||||
command:
|
||||
- postgres
|
||||
- -c
|
||||
- shared_preload_libraries=vectors.so
|
||||
- -c
|
||||
- search_path="$$user", public, vectors
|
||||
- -c
|
||||
- logging_collector=on
|
||||
- -c
|
||||
- max_wal_size=2GB
|
||||
- -c
|
||||
- shared_buffers=512MB
|
||||
- -c
|
||||
- wal_compression=on
|
||||
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}
|
||||
healthcheck:
|
||||
interval: 5m
|
||||
start_interval: 30s
|
||||
start_period: 5m
|
||||
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
|| exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}'
|
||||
--tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures),
|
||||
0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [
|
||||
"$$Chksum" = '0' ] || exit 1
|
||||
image: tensorchord/pgvecto-rs:pg14-v0.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
|
||||
healthcheck:
|
||||
disable: false
|
||||
image: ghcr.io/immich-app/immich-server:v1.121.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
|
||||
Reference in New Issue
Block a user