Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2026-04-10 21:41:07 +00:00
parent faaf4571bd
commit 7674f61295
84 changed files with 119 additions and 29 deletions
+6
View File
@@ -12,6 +12,8 @@ AdGuard Home 是一种基于网络的广告和跟踪器拦截解决方案。只
## 安装说明
### 默认 DNS
需要提前关闭宿主机 `resolved` 功能,否则会导致 DNS 解析失败。
```sh
@@ -19,6 +21,10 @@ systemctl disable systemd-resolved
systemctl stop systemd-resolved
```
### 初始化配置
安装后进入页面后,必须将 80 端口改为 3000 否则,结束后 页面将无法访问。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
@@ -14,7 +14,7 @@ services:
- verificationCodeTimeout=10
- appname=casdoor
- authState=casdoor
image: casbin/casdoor:2.400.0
image: casbin/casdoor:2.403.0
labels:
createdBy: Apps
networks:
@@ -7,7 +7,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/homarr-labs/homarr:v1.58.1
image: ghcr.io/homarr-labs/homarr:v1.59.0
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
@@ -10,7 +10,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-machine-learning:v2.7.3
image: ghcr.io/immich-app/immich-machine-learning:v2.7.4
labels:
createdBy: Apps
networks:
@@ -29,7 +29,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v2.7.3
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
@@ -10,7 +10,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v2.7.3
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
@@ -10,7 +10,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-machine-learning:v2.7.3
image: ghcr.io/immich-app/immich-machine-learning:v2.7.4
labels:
createdBy: Apps
networks:
@@ -45,7 +45,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v2.7.3
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
@@ -19,3 +19,4 @@ services:
restart: always
volumes:
- ${SUWAYOMI_SERVER_ROOT_PATH}/data:/home/suwayomi/.local/share/Tachidesk
- ${SUWAYOMI_SERVER_ROOT_PATH}/webUI:/tmp/Tachidesk/webUI-serve
@@ -10,6 +10,47 @@ if [ -f .env ]; then
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
DATA_DIR="$SUWAYOMI_SERVER_ROOT_PATH/data"
WEB_DIR="$SUWAYOMI_SERVER_ROOT_PATH/webUI"
mkdir -p "$DATA_DIR"
mkdir -p "$WEB_DIR"
chown -R 1000:1000 $DATA_DIR
chmod -R 755 $DATA_DIR
# setup-2
if ! command -v unzip &>/dev/null; then
echo "未找到 unzip,尝试自动安装..."
if command -v apt-get &>/dev/null; then
apt-get install -y unzip
elif command -v yum &>/dev/null; then
yum install -y unzip
else
echo "Error: 无法自动安装 unzip,请手动安装后重试。"
exit 1
fi
fi
# setup-3
LATEST_ZIP=$(ls -t web/Suwayomi-WebUI-v*.zip 2>/dev/null | head -n 1)
if [ -z "$LATEST_ZIP" ]; then
echo "Warning: 在 web/ 目录下未找到 Suwayomi-WebUI-v*.zip,跳过前端部署。"
else
echo "发现前端包:$LATEST_ZIP,开始覆盖解压到 $WEB_DIR ..."
unzip -oq "$LATEST_ZIP" -d "$WEB_DIR"
if [ $? -eq 0 ]; then
echo "前端解压完成。"
else
echo "Error: 解压失败,请检查 zip 文件是否完整。"
exit 1
fi
fi
chown -R 1000:1000 $WEB_DIR
chmod -R 755 $WEB_DIR
echo "Check Finish."
else
@@ -10,6 +10,47 @@ if [ -f .env ]; then
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
DATA_DIR="$SUWAYOMI_SERVER_ROOT_PATH/data"
WEB_DIR="$SUWAYOMI_SERVER_ROOT_PATH/webUI"
mkdir -p "$DATA_DIR"
mkdir -p "$WEB_DIR"
chown -R 1000:1000 $DATA_DIR
chmod -R 755 $DATA_DIR
# setup-2
if ! command -v unzip &>/dev/null; then
echo "未找到 unzip,尝试自动安装..."
if command -v apt-get &>/dev/null; then
apt-get install -y unzip
elif command -v yum &>/dev/null; then
yum install -y unzip
else
echo "Error: 无法自动安装 unzip,请手动安装后重试。"
exit 1
fi
fi
# setup-3
LATEST_ZIP=$(ls -t web/Suwayomi-WebUI-v*.zip 2>/dev/null | head -n 1)
if [ -z "$LATEST_ZIP" ]; then
echo "Warning: 在 web/ 目录下未找到 Suwayomi-WebUI-v*.zip,跳过前端部署。"
else
echo "发现前端包:$LATEST_ZIP,开始覆盖解压到 $WEB_DIR ..."
unzip -oq "$LATEST_ZIP" -d "$WEB_DIR"
if [ $? -eq 0 ]; then
echo "前端解压完成。"
else
echo "Error: 解压失败,请检查 zip 文件是否完整。"
exit 1
fi
fi
chown -R 1000:1000 $WEB_DIR
chmod -R 755 $WEB_DIR
echo "Check Finish."
else
+1 -1
View File
@@ -14,7 +14,7 @@ services:
- verificationCodeTimeout=10
- appname=casdoor
- authState=casdoor
image: casbin/casdoor:2.400.0
image: casbin/casdoor:2.403.0
labels:
createdBy: Apps
networks:
@@ -7,7 +7,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/homarr-labs/homarr:v1.58.1
image: ghcr.io/homarr-labs/homarr:v1.59.0
labels:
createdBy: Apps
network_mode: ${NETWORK_MODE}
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-machine-learning:
container_name: 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:v2.7.3
image: ghcr.io/immich-app/immich-machine-learning:v1.144.1
labels:
createdBy: Apps
networks:
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-machine-learning:
container_name: immich-machine-learning-immich-machine-learning
container_name: immich-machine-learning
devices:
- /dev/dri:/dev/dri
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-machine-learning:v1.144.1
image: ghcr.io/immich-app/immich-machine-learning:v2.7.4
labels:
createdBy: Apps
networks:
+2 -2
View File
@@ -21,7 +21,7 @@ services:
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
immich-server:
container_name: immich-no-machine
container_name: immich-server-immich-no-machine
depends_on:
- immich-pg14-vectors
devices:
@@ -29,7 +29,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v2.7.3
image: ghcr.io/immich-app/immich-server:v1.144.1
labels:
createdBy: Apps
networks:
@@ -21,7 +21,7 @@ services:
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
immich-server:
container_name: immich-server-immich-no-machine
container_name: immich-no-machine
depends_on:
- immich-pg14-vectors
devices:
@@ -29,7 +29,7 @@ services:
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v1.144.1
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
+2 -2
View File
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-server:
container_name: 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:v2.7.3
image: ghcr.io/immich-app/immich-server:v1.144.1
labels:
createdBy: Apps
networks:
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-server:
container_name: immich-server-immich-server
container_name: immich-server
devices:
- /dev/dri:/dev/dri
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v1.144.1
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
+4 -4
View File
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-machine-learning:
container_name: machine-learning-immich
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:v2.7.3
image: ghcr.io/immich-app/immich-machine-learning:v1.144.1
labels:
createdBy: Apps
networks:
@@ -38,14 +38,14 @@ services:
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
immich-server:
container_name: immich
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:v2.7.3
image: ghcr.io/immich-app/immich-server:v1.144.1
labels:
createdBy: Apps
networks:
@@ -4,13 +4,13 @@ networks:
external: true
services:
immich-machine-learning:
container_name: immich-machine-learning-immich
container_name: machine-learning-immich
devices: &id001
- /dev/dri:/dev/dri
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-machine-learning:v1.144.1
image: ghcr.io/immich-app/immich-machine-learning:v2.7.4
labels:
createdBy: Apps
networks:
@@ -38,14 +38,14 @@ services:
volumes:
- ${IMMICH_ROOT_PATH}/pg14/data:/var/lib/postgresql/data
immich-server:
container_name: immich-server-immich
container_name: immich
depends_on:
- immich-pg14-vectors
devices: *id001
env_file:
- ./envs/global.env
- .env
image: ghcr.io/immich-app/immich-server:v1.144.1
image: ghcr.io/immich-app/immich-server:v2.7.4
labels:
createdBy: Apps
networks:
@@ -19,3 +19,4 @@ services:
restart: always
volumes:
- ${SUWAYOMI_SERVER_ROOT_PATH}/data:/home/suwayomi/.local/share/Tachidesk
- ${SUWAYOMI_SERVER_ROOT_PATH}/webUI:/tmp/Tachidesk/webUI-serve