diff --git a/appstore/bili-fetcher/README.md b/appstore/bili-fetcher/README.md new file mode 100644 index 000000000..5f10ca785 --- /dev/null +++ b/appstore/bili-fetcher/README.md @@ -0,0 +1,43 @@ +# BiliFetcher + +B站历史记录 + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 简介 + +获取B站历史记录 + +批量下载视频 + +一键下载用户投稿视频 + +收藏夹所有视频 + +生成详细的年度总结 + +自动化任务 + +## 特性 + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img1.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img2.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img3.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img4.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img5.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img6.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img7.png) + +![BiliFetcher](https://file.lifebus.top/imgs/bili_fetcher_img8.png) + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/appstore/bili-fetcher/data.yml b/appstore/bili-fetcher/data.yml new file mode 100644 index 000000000..6750233d1 --- /dev/null +++ b/appstore/bili-fetcher/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: bili-fetcher + name: BiliFetcher + tags: + - WebSite + - Local + shortDescZh: B站历史记录 + shortDescEn: Bilibili History Fetcher + type: website + crossVersionUpdate: true + limit: 0 + website: https://github.com/2977094657/BilibiliHistoryFetcher/ + github: https://github.com/2977094657/BilibiliHistoryFetcher/ + document: https://github.com/2977094657/BilibiliHistoryFetcher/ diff --git a/appstore/bili-fetcher/latest/.env b/appstore/bili-fetcher/latest/.env new file mode 100644 index 000000000..5343acab9 --- /dev/null +++ b/appstore/bili-fetcher/latest/.env @@ -0,0 +1,6 @@ +# 数据持久化路径 [必填] +BILI_FETCHER_ROOT_PATH=/home/bili-fetcher + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/appstore/bili-fetcher/latest/data.yml b/appstore/bili-fetcher/latest/data.yml new file mode 100644 index 000000000..3233ebf07 --- /dev/null +++ b/appstore/bili-fetcher/latest/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "/home/bili-fetcher" + edit: true + envKey: BILI_FETCHER_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/appstore/bili-fetcher/latest/docker-compose.yml b/appstore/bili-fetcher/latest/docker-compose.yml new file mode 100644 index 000000000..50547078c --- /dev/null +++ b/appstore/bili-fetcher/latest/docker-compose.yml @@ -0,0 +1,40 @@ +networks: + 1panel-network: + external: true +services: + bili-fetcher-api: + build: + context: https://github.com/2977094657/BilibiliHistoryFetcher.git + dockerfile: docker/Dockerfile.cpu + container_name: api-bili-fetcher + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - DOCKER_ENV=true + image: bilibili-api:latest + networks: + - 1panel-network + restart: always + volumes: + - ${BILI_FETCHER_ROOT_PATH}/config:/app/config + - ${BILI_FETCHER_ROOT_PATH}/output:/app/output + bili-fetcher-web: + build: + context: https://github.com/2977094657/BiliHistoryFrontend.git + dockerfile: Dockerfile + container_name: bili-fetcher + depends_on: + - bili-fetcher-api + environment: + - BACKEND_URL=http://bili-fetcher-api:8899 + - TZ=Asia/Shanghai + image: bilibili-frontend:latest + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/appstore/dpanel-lite/1.6.4/envs/default.env b/appstore/bili-fetcher/latest/envs/default.env similarity index 100% rename from appstore/dpanel-lite/1.6.4/envs/default.env rename to appstore/bili-fetcher/latest/envs/default.env diff --git a/appstore/dpanel-lite/1.6.4/envs/global.env b/appstore/bili-fetcher/latest/envs/global.env similarity index 100% rename from appstore/dpanel-lite/1.6.4/envs/global.env rename to appstore/bili-fetcher/latest/envs/global.env diff --git a/appstore/dpanel-lite/1.6.4/scripts/init.sh b/appstore/bili-fetcher/latest/scripts/init.sh similarity index 100% rename from appstore/dpanel-lite/1.6.4/scripts/init.sh rename to appstore/bili-fetcher/latest/scripts/init.sh diff --git a/appstore/dpanel-lite/1.6.4/scripts/uninstall.sh b/appstore/bili-fetcher/latest/scripts/uninstall.sh similarity index 100% rename from appstore/dpanel-lite/1.6.4/scripts/uninstall.sh rename to appstore/bili-fetcher/latest/scripts/uninstall.sh diff --git a/appstore/dpanel-lite/1.6.4/scripts/upgrade.sh b/appstore/bili-fetcher/latest/scripts/upgrade.sh similarity index 100% rename from appstore/dpanel-lite/1.6.4/scripts/upgrade.sh rename to appstore/bili-fetcher/latest/scripts/upgrade.sh diff --git a/appstore/bili-fetcher/logo.png b/appstore/bili-fetcher/logo.png new file mode 100644 index 000000000..631dc978a Binary files /dev/null and b/appstore/bili-fetcher/logo.png differ diff --git a/appstore/dpanel-lite/1.6.4/.env b/appstore/dpanel-lite/1.7.0/.env similarity index 100% rename from appstore/dpanel-lite/1.6.4/.env rename to appstore/dpanel-lite/1.7.0/.env diff --git a/appstore/dpanel-lite/1.6.4/data.yml b/appstore/dpanel-lite/1.7.0/data.yml similarity index 100% rename from appstore/dpanel-lite/1.6.4/data.yml rename to appstore/dpanel-lite/1.7.0/data.yml diff --git a/appstore/dpanel-lite/1.6.4/docker-compose.yml b/appstore/dpanel-lite/1.7.0/docker-compose.yml similarity index 93% rename from appstore/dpanel-lite/1.6.4/docker-compose.yml rename to appstore/dpanel-lite/1.7.0/docker-compose.yml index 203e95c6e..59260c11f 100644 --- a/appstore/dpanel-lite/1.6.4/docker-compose.yml +++ b/appstore/dpanel-lite/1.7.0/docker-compose.yml @@ -10,7 +10,7 @@ services: environment: - APP_NAME=${CONTAINER_NAME} - HTTPS_PROXY=${HTTP_PROXY} - image: dpanel/dpanel:1.6.4-lite + image: dpanel/dpanel:1.7.0-lite labels: createdBy: Apps networks: diff --git a/appstore/dpanel/1.6.4/envs/default.env b/appstore/dpanel-lite/1.7.0/envs/default.env similarity index 100% rename from appstore/dpanel/1.6.4/envs/default.env rename to appstore/dpanel-lite/1.7.0/envs/default.env diff --git a/appstore/dpanel/1.6.4/envs/global.env b/appstore/dpanel-lite/1.7.0/envs/global.env similarity index 100% rename from appstore/dpanel/1.6.4/envs/global.env rename to appstore/dpanel-lite/1.7.0/envs/global.env diff --git a/appstore/dpanel/1.6.4/scripts/init.sh b/appstore/dpanel-lite/1.7.0/scripts/init.sh similarity index 100% rename from appstore/dpanel/1.6.4/scripts/init.sh rename to appstore/dpanel-lite/1.7.0/scripts/init.sh diff --git a/appstore/dpanel/1.6.4/scripts/uninstall.sh b/appstore/dpanel-lite/1.7.0/scripts/uninstall.sh similarity index 100% rename from appstore/dpanel/1.6.4/scripts/uninstall.sh rename to appstore/dpanel-lite/1.7.0/scripts/uninstall.sh diff --git a/appstore/dpanel/1.6.4/scripts/upgrade.sh b/appstore/dpanel-lite/1.7.0/scripts/upgrade.sh similarity index 100% rename from appstore/dpanel/1.6.4/scripts/upgrade.sh rename to appstore/dpanel-lite/1.7.0/scripts/upgrade.sh diff --git a/appstore/dpanel/1.6.4/.env b/appstore/dpanel/1.7.0/.env similarity index 100% rename from appstore/dpanel/1.6.4/.env rename to appstore/dpanel/1.7.0/.env diff --git a/appstore/dpanel/1.6.4/data.yml b/appstore/dpanel/1.7.0/data.yml similarity index 100% rename from appstore/dpanel/1.6.4/data.yml rename to appstore/dpanel/1.7.0/data.yml diff --git a/appstore/dpanel/1.6.4/docker-compose.yml b/appstore/dpanel/1.7.0/docker-compose.yml similarity index 94% rename from appstore/dpanel/1.6.4/docker-compose.yml rename to appstore/dpanel/1.7.0/docker-compose.yml index f73ab6d09..599980786 100644 --- a/appstore/dpanel/1.6.4/docker-compose.yml +++ b/appstore/dpanel/1.7.0/docker-compose.yml @@ -10,7 +10,7 @@ services: environment: - APP_NAME=${CONTAINER_NAME} - HTTPS_PROXY=${HTTP_PROXY} - image: dpanel/dpanel:1.6.4 + image: dpanel/dpanel:1.7.0 labels: createdBy: Apps networks: diff --git a/appstore/immich-machine-learning/1.131.2/envs/default.env b/appstore/dpanel/1.7.0/envs/default.env similarity index 100% rename from appstore/immich-machine-learning/1.131.2/envs/default.env rename to appstore/dpanel/1.7.0/envs/default.env diff --git a/appstore/immich-machine-learning/1.131.2/envs/global.env b/appstore/dpanel/1.7.0/envs/global.env similarity index 100% rename from appstore/immich-machine-learning/1.131.2/envs/global.env rename to appstore/dpanel/1.7.0/envs/global.env diff --git a/appstore/immich-machine-learning/1.131.2/scripts/init.sh b/appstore/dpanel/1.7.0/scripts/init.sh similarity index 100% rename from appstore/immich-machine-learning/1.131.2/scripts/init.sh rename to appstore/dpanel/1.7.0/scripts/init.sh diff --git a/appstore/immich-machine-learning/1.131.2/scripts/uninstall.sh b/appstore/dpanel/1.7.0/scripts/uninstall.sh similarity index 100% rename from appstore/immich-machine-learning/1.131.2/scripts/uninstall.sh rename to appstore/dpanel/1.7.0/scripts/uninstall.sh diff --git a/appstore/immich-machine-learning/1.131.2/scripts/upgrade.sh b/appstore/dpanel/1.7.0/scripts/upgrade.sh similarity index 100% rename from appstore/immich-machine-learning/1.131.2/scripts/upgrade.sh rename to appstore/dpanel/1.7.0/scripts/upgrade.sh diff --git a/appstore/immich-machine-learning/1.131.2/.env b/appstore/immich-machine-learning/1.132.3/.env similarity index 100% rename from appstore/immich-machine-learning/1.131.2/.env rename to appstore/immich-machine-learning/1.132.3/.env diff --git a/appstore/immich-machine-learning/1.131.2/data.yml b/appstore/immich-machine-learning/1.132.3/data.yml similarity index 100% rename from appstore/immich-machine-learning/1.131.2/data.yml rename to appstore/immich-machine-learning/1.132.3/data.yml diff --git a/appstore/immich-machine-learning/1.131.2/docker-compose.yml b/appstore/immich-machine-learning/1.132.3/docker-compose.yml similarity index 87% rename from appstore/immich-machine-learning/1.131.2/docker-compose.yml rename to appstore/immich-machine-learning/1.132.3/docker-compose.yml index cbb6736ef..0c0530ffe 100644 --- a/appstore/immich-machine-learning/1.131.2/docker-compose.yml +++ b/appstore/immich-machine-learning/1.132.3/docker-compose.yml @@ -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: diff --git a/appstore/immich/1.131.2/envs/default.env b/appstore/immich-machine-learning/1.132.3/envs/default.env similarity index 100% rename from appstore/immich/1.131.2/envs/default.env rename to appstore/immich-machine-learning/1.132.3/envs/default.env diff --git a/appstore/immich/1.131.2/envs/global.env b/appstore/immich-machine-learning/1.132.3/envs/global.env similarity index 100% rename from appstore/immich/1.131.2/envs/global.env rename to appstore/immich-machine-learning/1.132.3/envs/global.env diff --git a/appstore/immich/1.131.2/scripts/init.sh b/appstore/immich-machine-learning/1.132.3/scripts/init.sh similarity index 100% rename from appstore/immich/1.131.2/scripts/init.sh rename to appstore/immich-machine-learning/1.132.3/scripts/init.sh diff --git a/appstore/immich/1.131.2/scripts/uninstall.sh b/appstore/immich-machine-learning/1.132.3/scripts/uninstall.sh similarity index 100% rename from appstore/immich/1.131.2/scripts/uninstall.sh rename to appstore/immich-machine-learning/1.132.3/scripts/uninstall.sh diff --git a/appstore/immich/1.131.2/scripts/upgrade.sh b/appstore/immich-machine-learning/1.132.3/scripts/upgrade.sh similarity index 100% rename from appstore/immich/1.131.2/scripts/upgrade.sh rename to appstore/immich-machine-learning/1.132.3/scripts/upgrade.sh diff --git a/appstore/immich-machine-learning/1.133.0/.env b/appstore/immich-machine-learning/1.133.0/.env new file mode 100644 index 000000000..91116ad60 --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/.env @@ -0,0 +1,21 @@ +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-machine-learning + +# API 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 硬件驱动路径 [必填] +IMMICH_DRIVE_PATH=/dev/dri + +# 时区 [必填] +TZ=Asia/Shanghai + +# 机器学习 预加载模型 +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 + diff --git a/appstore/immich-machine-learning/1.133.0/data.yml b/appstore/immich-machine-learning/1.133.0/data.yml new file mode 100644 index 000000000..7321cde6d --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/data.yml @@ -0,0 +1,61 @@ +additionalProperties: + formFields: + - default: "/home/immich-machine-learning" + 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: API 端口 + labelEn: API port + required: true + rule: paramPort + type: number + - default: "/dev/dri" + edit: true + envKey: IMMICH_DRIVE_PATH + labelZh: 硬件驱动路径 + labelEn: Drive path + required: true + type: text + - default: "Asia/Shanghai" + edit: true + envKey: TZ + labelZh: 时区 + labelEn: Timezone + required: true + type: text + - 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 + required: false + type: text diff --git a/appstore/immich-machine-learning/1.133.0/docker-compose.yml b/appstore/immich-machine-learning/1.133.0/docker-compose.yml new file mode 100644 index 000000000..556391618 --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/docker-compose.yml @@ -0,0 +1,22 @@ +name: immich-machine-learning +networks: + 1panel-network: + external: true +services: + immich-machine-learning: + container_name: immich-machine-learning-immich-machine-learning + devices: + - /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_HTTP}:3003 + restart: always + volumes: + - ${IMMICH_ROOT_PATH}/data/cache:/cache diff --git a/appstore/immich-machine-learning/1.133.0/envs/default.env b/appstore/immich-machine-learning/1.133.0/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/immich-machine-learning/1.133.0/envs/global.env b/appstore/immich-machine-learning/1.133.0/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/immich-machine-learning/1.133.0/scripts/init.sh b/appstore/immich-machine-learning/1.133.0/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/scripts/init.sh @@ -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 diff --git a/appstore/immich-machine-learning/1.133.0/scripts/uninstall.sh b/appstore/immich-machine-learning/1.133.0/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/immich-machine-learning/1.133.0/scripts/upgrade.sh b/appstore/immich-machine-learning/1.133.0/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-machine-learning/1.133.0/scripts/upgrade.sh @@ -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 diff --git a/appstore/immich-no-machine/1.133.0/.env b/appstore/immich-no-machine/1.133.0/.env new file mode 100644 index 000000000..da1ba0f59 --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/.env @@ -0,0 +1,42 @@ +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-app + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 数据库连接密码 [必填] +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= + +# 是否跳过目录检查 +IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false + diff --git a/appstore/immich-no-machine/1.133.0/data.yml b/appstore/immich-no-machine/1.133.0/data.yml new file mode 100644 index 000000000..093e32b15 --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/data.yml @@ -0,0 +1,117 @@ +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: "" + 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: "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" diff --git a/appstore/immich-no-machine/1.133.0/docker-compose.yml b/appstore/immich-no-machine/1.133.0/docker-compose.yml new file mode 100644 index 000000000..27a353edf --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/docker-compose.yml @@ -0,0 +1,42 @@ +name: immich +networks: + 1panel-network: + external: true +services: + immich-pg14-vectors: + container_name: pg14-vectors-immich-no-machine + 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-no-machine + depends_on: + - immich-pg14-vectors + devices: + - /dev/dri:/dev/dri + 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 diff --git a/appstore/immich-no-machine/1.133.0/envs/default.env b/appstore/immich-no-machine/1.133.0/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/immich-no-machine/1.133.0/envs/global.env b/appstore/immich-no-machine/1.133.0/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/immich-no-machine/1.133.0/scripts/init.sh b/appstore/immich-no-machine/1.133.0/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/scripts/init.sh @@ -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 diff --git a/appstore/immich-no-machine/1.133.0/scripts/uninstall.sh b/appstore/immich-no-machine/1.133.0/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/immich-no-machine/1.133.0/scripts/upgrade.sh b/appstore/immich-no-machine/1.133.0/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-no-machine/1.133.0/scripts/upgrade.sh @@ -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 diff --git a/appstore/immich-server/1.133.0/.env b/appstore/immich-server/1.133.0/.env new file mode 100644 index 000000000..27aea5506 --- /dev/null +++ b/appstore/immich-server/1.133.0/.env @@ -0,0 +1,48 @@ +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# Postgres 服务 (前置检查) [必填] +PANEL_POSTGRES_TYPE=postgresql + +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-app + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 时区 [必填] +TZ=Asia/Shanghai + +# 数据库 主机地址 [必填] +DB_HOSTNAME=127.0.0.1 + +# 数据库 端口 [必填] +DB_PORT=5432 + +# 数据库 用户名 [必填] +DB_USERNAME=postgres + +# 数据库 密码 [必填] +DB_PASSWORD= + +# 数据库 名称 [必填] +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= + +# 是否跳过目录检查 +IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false + diff --git a/appstore/immich-server/1.133.0/data.yml b/appstore/immich-server/1.133.0/data.yml new file mode 100644 index 000000000..33b62351b --- /dev/null +++ b/appstore/immich-server/1.133.0/data.yml @@ -0,0 +1,138 @@ +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 + - child: + default: "" + envKey: PANEL_POSTGRES_SERVICE + required: true + type: service + default: postgresql + envKey: PANEL_POSTGRES_TYPE + labelZh: Postgres 服务 (前置检查) + labelEn: Postgres Service (Pre-check) + required: true + type: apps + values: + - label: PostgreSQL + value: postgresql + - 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: "Asia/Shanghai" + edit: true + envKey: TZ + labelZh: 时区 + labelEn: Timezone + required: true + type: text + - default: "127.0.0.1" + edit: true + envKey: DB_HOSTNAME + labelZh: 数据库 主机地址 + labelEn: Database Host + required: true + type: text + - default: 5432 + edit: true + envKey: DB_PORT + labelZh: 数据库 端口 + labelEn: Database Port + required: true + rule: paramPort + type: number + - default: "postgres" + edit: true + envKey: DB_USERNAME + labelZh: 数据库 用户名 + labelEn: Database User + required: true + type: text + - default: "" + edit: true + envKey: DB_PASSWORD + labelZh: 数据库 密码 + labelEn: Database Password + random: true + required: true + rule: paramComplexity + type: password + - default: "immich" + edit: 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: "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" diff --git a/appstore/immich-server/1.133.0/docker-compose.yml b/appstore/immich-server/1.133.0/docker-compose.yml new file mode 100644 index 000000000..39ac0b485 --- /dev/null +++ b/appstore/immich-server/1.133.0/docker-compose.yml @@ -0,0 +1,23 @@ +name: immich-server +networks: + 1panel-network: + external: true +services: + immich-server: + container_name: immich-server-immich-server + devices: + - /dev/dri:/dev/dri + 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 diff --git a/appstore/immich-server/1.133.0/envs/default.env b/appstore/immich-server/1.133.0/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/immich-server/1.133.0/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/immich-server/1.133.0/envs/global.env b/appstore/immich-server/1.133.0/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/immich-server/1.133.0/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/immich-server/1.133.0/scripts/init.sh b/appstore/immich-server/1.133.0/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-server/1.133.0/scripts/init.sh @@ -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 diff --git a/appstore/immich-server/1.133.0/scripts/uninstall.sh b/appstore/immich-server/1.133.0/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/immich-server/1.133.0/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/immich-server/1.133.0/scripts/upgrade.sh b/appstore/immich-server/1.133.0/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich-server/1.133.0/scripts/upgrade.sh @@ -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 diff --git a/appstore/immich/1.131.2/.env b/appstore/immich/1.132.3/.env similarity index 100% rename from appstore/immich/1.131.2/.env rename to appstore/immich/1.132.3/.env diff --git a/appstore/immich/1.131.2/data.yml b/appstore/immich/1.132.3/data.yml similarity index 100% rename from appstore/immich/1.131.2/data.yml rename to appstore/immich/1.132.3/data.yml diff --git a/appstore/immich/1.131.2/docker-compose.yml b/appstore/immich/1.132.3/docker-compose.yml similarity index 97% rename from appstore/immich/1.131.2/docker-compose.yml rename to appstore/immich/1.132.3/docker-compose.yml index f013bfa12..44a2398ec 100644 --- a/appstore/immich/1.131.2/docker-compose.yml +++ b/appstore/immich/1.132.3/docker-compose.yml @@ -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: diff --git a/appstore/immich/1.132.3/envs/default.env b/appstore/immich/1.132.3/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/immich/1.132.3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/immich/1.132.3/envs/global.env b/appstore/immich/1.132.3/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/immich/1.132.3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/immich/1.132.3/scripts/init.sh b/appstore/immich/1.132.3/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich/1.132.3/scripts/init.sh @@ -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 diff --git a/appstore/immich/1.132.3/scripts/uninstall.sh b/appstore/immich/1.132.3/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/immich/1.132.3/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/immich/1.132.3/scripts/upgrade.sh b/appstore/immich/1.132.3/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich/1.132.3/scripts/upgrade.sh @@ -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 diff --git a/appstore/immich/1.133.0/.env b/appstore/immich/1.133.0/.env new file mode 100644 index 000000000..a4e4ae287 --- /dev/null +++ b/appstore/immich/1.133.0/.env @@ -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 + diff --git a/appstore/immich/1.133.0/data.yml b/appstore/immich/1.133.0/data.yml new file mode 100644 index 000000000..5dafe3219 --- /dev/null +++ b/appstore/immich/1.133.0/data.yml @@ -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" diff --git a/appstore/immich/1.133.0/docker-compose.yml b/appstore/immich/1.133.0/docker-compose.yml new file mode 100644 index 000000000..d9313baa3 --- /dev/null +++ b/appstore/immich/1.133.0/docker-compose.yml @@ -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 diff --git a/appstore/immich/1.133.0/envs/default.env b/appstore/immich/1.133.0/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/immich/1.133.0/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/immich/1.133.0/envs/global.env b/appstore/immich/1.133.0/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/immich/1.133.0/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/immich/1.133.0/scripts/init.sh b/appstore/immich/1.133.0/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich/1.133.0/scripts/init.sh @@ -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 diff --git a/appstore/immich/1.133.0/scripts/uninstall.sh b/appstore/immich/1.133.0/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/immich/1.133.0/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/immich/1.133.0/scripts/upgrade.sh b/appstore/immich/1.133.0/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/immich/1.133.0/scripts/upgrade.sh @@ -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 diff --git a/dockge/bili-fetcher/.env b/dockge/bili-fetcher/.env new file mode 100644 index 000000000..5343acab9 --- /dev/null +++ b/dockge/bili-fetcher/.env @@ -0,0 +1,6 @@ +# 数据持久化路径 [必填] +BILI_FETCHER_ROOT_PATH=/home/bili-fetcher + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/dockge/bili-fetcher/docker-compose.yml b/dockge/bili-fetcher/docker-compose.yml new file mode 100644 index 000000000..50547078c --- /dev/null +++ b/dockge/bili-fetcher/docker-compose.yml @@ -0,0 +1,40 @@ +networks: + 1panel-network: + external: true +services: + bili-fetcher-api: + build: + context: https://github.com/2977094657/BilibiliHistoryFetcher.git + dockerfile: docker/Dockerfile.cpu + container_name: api-bili-fetcher + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - DOCKER_ENV=true + image: bilibili-api:latest + networks: + - 1panel-network + restart: always + volumes: + - ${BILI_FETCHER_ROOT_PATH}/config:/app/config + - ${BILI_FETCHER_ROOT_PATH}/output:/app/output + bili-fetcher-web: + build: + context: https://github.com/2977094657/BiliHistoryFrontend.git + dockerfile: Dockerfile + container_name: bili-fetcher + depends_on: + - bili-fetcher-api + environment: + - BACKEND_URL=http://bili-fetcher-api:8899 + - TZ=Asia/Shanghai + image: bilibili-frontend:latest + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/dockge/bili-fetcher/envs/default.env b/dockge/bili-fetcher/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/bili-fetcher/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/bili-fetcher/envs/global.env b/dockge/bili-fetcher/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/bili-fetcher/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/dpanel-lite/docker-compose.yml b/dockge/dpanel-lite/docker-compose.yml index 203e95c6e..59260c11f 100644 --- a/dockge/dpanel-lite/docker-compose.yml +++ b/dockge/dpanel-lite/docker-compose.yml @@ -10,7 +10,7 @@ services: environment: - APP_NAME=${CONTAINER_NAME} - HTTPS_PROXY=${HTTP_PROXY} - image: dpanel/dpanel:1.6.4-lite + image: dpanel/dpanel:1.7.0-lite labels: createdBy: Apps networks: diff --git a/dockge/dpanel/docker-compose.yml b/dockge/dpanel/docker-compose.yml index f73ab6d09..599980786 100644 --- a/dockge/dpanel/docker-compose.yml +++ b/dockge/dpanel/docker-compose.yml @@ -10,7 +10,7 @@ services: environment: - APP_NAME=${CONTAINER_NAME} - HTTPS_PROXY=${HTTP_PROXY} - image: dpanel/dpanel:1.6.4 + image: dpanel/dpanel:1.7.0 labels: createdBy: Apps networks: diff --git a/dockge/immich-machine-learning/docker-compose.yml b/dockge/immich-machine-learning/docker-compose.yml index cbb6736ef..556391618 100644 --- a/dockge/immich-machine-learning/docker-compose.yml +++ b/dockge/immich-machine-learning/docker-compose.yml @@ -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.133.0 labels: createdBy: Apps networks: diff --git a/dockge/immich-machine-learning_1_132_3/.env b/dockge/immich-machine-learning_1_132_3/.env new file mode 100644 index 000000000..91116ad60 --- /dev/null +++ b/dockge/immich-machine-learning_1_132_3/.env @@ -0,0 +1,21 @@ +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-machine-learning + +# API 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 硬件驱动路径 [必填] +IMMICH_DRIVE_PATH=/dev/dri + +# 时区 [必填] +TZ=Asia/Shanghai + +# 机器学习 预加载模型 +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 + diff --git a/dockge/immich-machine-learning_1_132_3/docker-compose.yml b/dockge/immich-machine-learning_1_132_3/docker-compose.yml new file mode 100644 index 000000000..0c0530ffe --- /dev/null +++ b/dockge/immich-machine-learning_1_132_3/docker-compose.yml @@ -0,0 +1,22 @@ +name: immich-machine-learning +networks: + 1panel-network: + external: true +services: + immich-machine-learning: + container_name: immich-machine-learning-immich-machine-learning + devices: + - /dev/dri:/dev/dri + env_file: + - ./envs/global.env + - .env + image: ghcr.io/immich-app/immich-machine-learning:v1.132.3 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:3003 + restart: always + volumes: + - ${IMMICH_ROOT_PATH}/data/cache:/cache diff --git a/dockge/immich-machine-learning_1_132_3/envs/default.env b/dockge/immich-machine-learning_1_132_3/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/immich-machine-learning_1_132_3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/immich-machine-learning_1_132_3/envs/global.env b/dockge/immich-machine-learning_1_132_3/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/immich-machine-learning_1_132_3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/immich-no-machine/docker-compose.yml b/dockge/immich-no-machine/docker-compose.yml index 0ad713e57..27a353edf 100644 --- a/dockge/immich-no-machine/docker-compose.yml +++ b/dockge/immich-no-machine/docker-compose.yml @@ -4,36 +4,13 @@ networks: external: true services: 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-no-machine 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 + image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 labels: createdBy: Apps networks: @@ -52,7 +29,7 @@ services: env_file: - ./envs/global.env - .env - image: ghcr.io/immich-app/immich-server:v1.132.3 + image: ghcr.io/immich-app/immich-server:v1.133.0 labels: createdBy: Apps networks: diff --git a/dockge/immich-no-machine_1_132_3/.env b/dockge/immich-no-machine_1_132_3/.env new file mode 100644 index 000000000..da1ba0f59 --- /dev/null +++ b/dockge/immich-no-machine_1_132_3/.env @@ -0,0 +1,42 @@ +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-app + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 数据库连接密码 [必填] +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= + +# 是否跳过目录检查 +IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false + diff --git a/dockge/immich-no-machine_1_132_3/docker-compose.yml b/dockge/immich-no-machine_1_132_3/docker-compose.yml new file mode 100644 index 000000000..0ad713e57 --- /dev/null +++ b/dockge/immich-no-machine_1_132_3/docker-compose.yml @@ -0,0 +1,65 @@ +name: immich +networks: + 1panel-network: + external: true +services: + 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-no-machine + 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-no-machine + depends_on: + - immich-pg14-vectors + devices: + - /dev/dri:/dev/dri + env_file: + - ./envs/global.env + - .env + image: ghcr.io/immich-app/immich-server:v1.132.3 + 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 diff --git a/dockge/immich-no-machine_1_132_3/envs/default.env b/dockge/immich-no-machine_1_132_3/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/immich-no-machine_1_132_3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/immich-no-machine_1_132_3/envs/global.env b/dockge/immich-no-machine_1_132_3/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/immich-no-machine_1_132_3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/immich-server/docker-compose.yml b/dockge/immich-server/docker-compose.yml index 1f7695a07..39ac0b485 100644 --- a/dockge/immich-server/docker-compose.yml +++ b/dockge/immich-server/docker-compose.yml @@ -10,7 +10,7 @@ services: env_file: - ./envs/global.env - .env - image: ghcr.io/immich-app/immich-server:v1.132.3 + image: ghcr.io/immich-app/immich-server:v1.133.0 labels: createdBy: Apps networks: diff --git a/dockge/immich-server_1_132_3/.env b/dockge/immich-server_1_132_3/.env new file mode 100644 index 000000000..27aea5506 --- /dev/null +++ b/dockge/immich-server_1_132_3/.env @@ -0,0 +1,48 @@ +# Redis 服务 (前置检查) [必填] +PANEL_REDIS_TYPE=redis + +# Postgres 服务 (前置检查) [必填] +PANEL_POSTGRES_TYPE=postgresql + +# 数据持久化路径 [必填] +IMMICH_ROOT_PATH=/home/immich-app + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=2283 + +# 时区 [必填] +TZ=Asia/Shanghai + +# 数据库 主机地址 [必填] +DB_HOSTNAME=127.0.0.1 + +# 数据库 端口 [必填] +DB_PORT=5432 + +# 数据库 用户名 [必填] +DB_USERNAME=postgres + +# 数据库 密码 [必填] +DB_PASSWORD= + +# 数据库 名称 [必填] +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= + +# 是否跳过目录检查 +IMMICH_IGNORE_MOUNT_CHECK_ERRORS=false + diff --git a/dockge/immich-server_1_132_3/docker-compose.yml b/dockge/immich-server_1_132_3/docker-compose.yml new file mode 100644 index 000000000..1f7695a07 --- /dev/null +++ b/dockge/immich-server_1_132_3/docker-compose.yml @@ -0,0 +1,23 @@ +name: immich-server +networks: + 1panel-network: + external: true +services: + immich-server: + container_name: immich-server-immich-server + devices: + - /dev/dri:/dev/dri + env_file: + - ./envs/global.env + - .env + image: ghcr.io/immich-app/immich-server:v1.132.3 + 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 diff --git a/dockge/immich-server_1_132_3/envs/default.env b/dockge/immich-server_1_132_3/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/immich-server_1_132_3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/immich-server_1_132_3/envs/global.env b/dockge/immich-server_1_132_3/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/immich-server_1_132_3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/immich/docker-compose.yml b/dockge/immich/docker-compose.yml index f013bfa12..d9313baa3 100644 --- a/dockge/immich/docker-compose.yml +++ b/dockge/immich/docker-compose.yml @@ -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.133.0 labels: createdBy: Apps networks: @@ -21,36 +21,13 @@ services: 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 + image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 labels: createdBy: Apps networks: @@ -68,7 +45,7 @@ services: env_file: - ./envs/global.env - .env - image: ghcr.io/immich-app/immich-server:v1.132.3 + image: ghcr.io/immich-app/immich-server:v1.133.0 labels: createdBy: Apps networks: diff --git a/dockge/immich_1_132_3/.env b/dockge/immich_1_132_3/.env new file mode 100644 index 000000000..a4e4ae287 --- /dev/null +++ b/dockge/immich_1_132_3/.env @@ -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 + diff --git a/dockge/immich_1_132_3/docker-compose.yml b/dockge/immich_1_132_3/docker-compose.yml new file mode 100644 index 000000000..44a2398ec --- /dev/null +++ b/dockge/immich_1_132_3/docker-compose.yml @@ -0,0 +1,81 @@ +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.132.3 + 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 + image: ghcr.io/immich-app/immich-server:v1.132.3 + 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 diff --git a/dockge/immich_1_132_3/envs/default.env b/dockge/immich_1_132_3/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/immich_1_132_3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/immich_1_132_3/envs/global.env b/dockge/immich_1_132_3/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/immich_1_132_3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai