1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-09 16:42:29 +08:00

发布应用 ani-rss v2

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
Meng Sen 2025-06-12 10:24:56 +08:00
parent a349956271
commit c1dcbb60b8
8 changed files with 119 additions and 1 deletions

38
ani-rss/2.0.2/data.yml Normal file
View File

@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: "/home/ani-rss"
edit: true
envKey: ANI_RSS_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 7789
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_1
labelEn: Custom mount directory 1
labelZh: 自定义挂载目录 1
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_2
labelEn: Custom mount directory 2
labelZh: 自定义挂载目录 2
required: false
type: text
- default: ""
edit: true
envKey: CUSTOM_MOUNT_DIRECTORY_3
labelEn: Custom mount directory 3
labelZh: 自定义挂载目录 3
required: false
type: text

View File

@ -0,0 +1,32 @@
networks:
1panel-network:
external: true
services:
ani-rss:
image: wushuo894/ani-rss:v2.0.2
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:7789
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${ANI_RSS_ROOT_PATH}/config:/config
- ${ANI_RSS_ROOT_PATH}/downloads:/downloads
- ${ANI_RSS_ROOT_PATH}/Media:/Media
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
environment:
- PUID=0
- PGID=0
- UMASK=022
- PORT=7789
- CONFIG=/config
- TZ=Asia/Shanghai

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env

View File

@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai

View File

@ -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

View File

@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi

View File

@ -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

View File

@ -8,7 +8,7 @@
shortDescZh: 自动追番、订阅、下载 蜜柑RSS动漫
shortDescEn: Automatically subscribe to and download Mikan RSS anime
type: website
crossVersionUpdate: true
crossVersionUpdate: false
limit: 0
website: https://docs.wushuo.top/
github: https://github.com/wushuo894/ani-rss/