mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 16:26:19 +08:00
发布应用 ANI-RSS AutoLady
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
04a5fb8b53
commit
c85f9c5875
2
.github/README.md
vendored
2
.github/README.md
vendored
@ -85,7 +85,9 @@
|
|||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/acg-faka/logo.png" width="22"/> | 异次元店铺系统V3 | https://faka.wiki/ | 二次元发卡系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/acg-faka/logo.png" width="22"/> | 异次元店铺系统V3 | https://faka.wiki/ | 二次元发卡系统 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/mcy-shop/logo.png" width="22"/> | 异次元店铺系统V4 | https://wiki.mcy.im/ | 二次元发卡系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/mcy-shop/logo.png" width="22"/> | 异次元店铺系统V4 | https://wiki.mcy.im/ | 二次元发卡系统 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/alist/logo.png" width="22"/> | AList | https://alist.nn.ci/ | 一款支持多重存储的文件列表程序 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/alist/logo.png" width="22"/> | AList | https://alist.nn.ci/ | 一款支持多重存储的文件列表程序 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ani-rss/logo.png" width="22"/> | ANI-RSS | https://docs.wushuo.top/ | 自动追番、订阅、下载 蜜柑RSS动漫 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/artalk/logo.png" width="22"/> | Artalk | https://artalk.js.org/ | 一个自托管的评论系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/artalk/logo.png" width="22"/> | Artalk | https://artalk.js.org/ | 一个自托管的评论系统 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/auto-lady/logo.png" width="22"/> | AutoLady | https://catcat.blog/ | 自动化订阅AV影片 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/baota/logo.png" width="22"/> | 宝塔 | https://www.bt.cn/ | 宝塔,安全高效的服务器运维面板 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/baota/logo.png" width="22"/> | 宝塔 | https://www.bt.cn/ | 宝塔,安全高效的服务器运维面板 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bark/logo.png" width="22"/> | Bark | https://bark.day.app/ | 一款注重隐私、安全可控的自定义通知推送工具 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bark/logo.png" width="22"/> | Bark | https://bark.day.app/ | 一款注重隐私、安全可控的自定义通知推送工具 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bitmagnet/logo.png" width="22"/> | Bitmagnet | https://bitmagnet.io/ | 自托管的 BitTorrent 索引器 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bitmagnet/logo.png" width="22"/> | Bitmagnet | https://bitmagnet.io/ | 自托管的 BitTorrent 索引器 | |
|
||||||
|
@ -68,7 +68,9 @@
|
|||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/acg-faka/logo.png" width="22"/> | 异次元店铺系统V3 | https://faka.wiki/ | 二次元发卡系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/acg-faka/logo.png" width="22"/> | 异次元店铺系统V3 | https://faka.wiki/ | 二次元发卡系统 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/mcy-shop/logo.png" width="22"/> | 异次元店铺系统V4 | https://wiki.mcy.im/ | 二次元发卡系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/mcy-shop/logo.png" width="22"/> | 异次元店铺系统V4 | https://wiki.mcy.im/ | 二次元发卡系统 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/alist/logo.png" width="22"/> | AList | https://alist.nn.ci/ | 一款支持多重存储的文件列表程序 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/alist/logo.png" width="22"/> | AList | https://alist.nn.ci/ | 一款支持多重存储的文件列表程序 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/ani-rss/logo.png" width="22"/> | ANI-RSS | https://docs.wushuo.top/ | 自动追番、订阅、下载 蜜柑RSS动漫 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/artalk/logo.png" width="22"/> | Artalk | https://artalk.js.org/ | 一个自托管的评论系统 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/artalk/logo.png" width="22"/> | Artalk | https://artalk.js.org/ | 一个自托管的评论系统 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/auto-lady/logo.png" width="22"/> | AutoLady | https://catcat.blog/ | 自动化订阅AV影片 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/baota/logo.png" width="22"/> | 宝塔 | https://www.bt.cn/ | 宝塔,安全高效的服务器运维面板 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/baota/logo.png" width="22"/> | 宝塔 | https://www.bt.cn/ | 宝塔,安全高效的服务器运维面板 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bark/logo.png" width="22"/> | Bark | https://bark.day.app/ | 一款注重隐私、安全可控的自定义通知推送工具 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bark/logo.png" width="22"/> | Bark | https://bark.day.app/ | 一款注重隐私、安全可控的自定义通知推送工具 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bitmagnet/logo.png" width="22"/> | Bitmagnet | https://bitmagnet.io/ | 自托管的 BitTorrent 索引器 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/bitmagnet/logo.png" width="22"/> | Bitmagnet | https://bitmagnet.io/ | 自托管的 BitTorrent 索引器 | |
|
||||||
|
38
apps/ani-rss/1.1.202/data.yml
Normal file
38
apps/ani-rss/1.1.202/data.yml
Normal 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_ADMIN
|
||||||
|
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
|
29
apps/ani-rss/1.1.202/docker-compose.yml
Normal file
29
apps/ani-rss/1.1.202/docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
ani-rss:
|
||||||
|
image: wushuo894/ani-rss:v1.1.202
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_ADMIN}:7789
|
||||||
|
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:
|
||||||
|
- PORT=7789
|
||||||
|
- CONFIG=/config
|
||||||
|
- TZ=Asia/Shanghai
|
15
apps/ani-rss/1.1.202/scripts/init.sh
Normal file
15
apps/ani-rss/1.1.202/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
10
apps/ani-rss/1.1.202/scripts/uninstall.sh
Normal file
10
apps/ani-rss/1.1.202/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
15
apps/ani-rss/1.1.202/scripts/upgrade.sh
Normal file
15
apps/ani-rss/1.1.202/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
17
apps/ani-rss/README.md
Normal file
17
apps/ani-rss/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# ANI-RSS
|
||||||
|
|
||||||
|
自动追番、订阅、下载 蜜柑RSS动漫
|
||||||
|
|
||||||
|
![Dockge](https://file.lifebus.top/imgs/ani_orss_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)
|
||||||
|
|
||||||
|
## 安装说明
|
||||||
|
|
||||||
|
> 默认用户名:`admin`
|
||||||
|
>
|
||||||
|
> 默认密码:`admin`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
apps/ani-rss/data.yml
Normal file
15
apps/ani-rss/data.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
additionalProperties:
|
||||||
|
key: ani-rss
|
||||||
|
name: ANI-RSS
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Tool
|
||||||
|
- Local
|
||||||
|
shortDescZh: 自动追番、订阅、下载 蜜柑RSS动漫
|
||||||
|
shortDescEn: Automatically subscribe to and download Mikan RSS anime
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://docs.wushuo.top/
|
||||||
|
github: https://github.com/wushuo894/ani-rss/
|
||||||
|
document: https://docs.wushuo.top/
|
BIN
apps/ani-rss/logo.png
Normal file
BIN
apps/ani-rss/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
38
apps/auto-lady/1.1.202/data.yml
Normal file
38
apps/auto-lady/1.1.202/data.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/home/auto-lady"
|
||||||
|
edit: true
|
||||||
|
envKey: AUTO_LADY_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8080
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_ADMIN
|
||||||
|
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
|
23
apps/auto-lady/1.1.202/docker-compose.yml
Normal file
23
apps/auto-lady/1.1.202/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
auto-lady:
|
||||||
|
image: orekiiiiiiiiiiiii/auto-lady:1.4.2
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_ADMIN}:80
|
||||||
|
env_file:
|
||||||
|
- /etc/1panel/envs/global.env
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${AUTO_LADY_ROOT_PATH}/config:/data
|
||||||
|
- ${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}
|
15
apps/auto-lady/1.1.202/scripts/init.sh
Normal file
15
apps/auto-lady/1.1.202/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
10
apps/auto-lady/1.1.202/scripts/uninstall.sh
Normal file
10
apps/auto-lady/1.1.202/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
15
apps/auto-lady/1.1.202/scripts/upgrade.sh
Normal file
15
apps/auto-lady/1.1.202/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
22
apps/auto-lady/README.md
Normal file
22
apps/auto-lady/README.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# AutoLady
|
||||||
|
|
||||||
|
自动化订阅AV影片
|
||||||
|
|
||||||
|
![Dockge](https://file.lifebus.top/imgs/autolady_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)
|
||||||
|
|
||||||
|
## 应用说明
|
||||||
|
|
||||||
|
> 目前仅支持 MT,FSM,PTT 三个 PT 站点的 AV 采集订阅
|
||||||
|
>
|
||||||
|
> 账号密码可在 `日志` 查看
|
||||||
|
|
||||||
|
## 应用配置
|
||||||
|
|
||||||
|
+ qBittorrent 下载器
|
||||||
|
+ PT 站点密钥
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
apps/auto-lady/data.yml
Normal file
15
apps/auto-lady/data.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
additionalProperties:
|
||||||
|
key: auto-lady
|
||||||
|
name: AutoLady
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Tool
|
||||||
|
- Local
|
||||||
|
shortDescZh: 自动化订阅AV影片
|
||||||
|
shortDescEn: AutoLady is a tool for automatically subscribing to AV movies
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://catcat.blog/
|
||||||
|
github: https://catcat.blog/
|
||||||
|
document: https://catcat.blog/docker-autolady.html
|
BIN
apps/auto-lady/logo.png
Normal file
BIN
apps/auto-lady/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
@ -16,7 +16,7 @@ services:
|
|||||||
- ${PANEL_APP_PORT_API}:3001
|
- ${PANEL_APP_PORT_API}:3001
|
||||||
env_file:
|
env_file:
|
||||||
- /etc/1panel/envs/global.env
|
- /etc/1panel/envs/global.env
|
||||||
- /etc/1panel/envs/moviepilot/moviepilot.env
|
- /etc/1panel/envs/movie-pilot/movie-pilot.env
|
||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -16,7 +16,7 @@ services:
|
|||||||
- ${PANEL_APP_PORT_API}:3001
|
- ${PANEL_APP_PORT_API}:3001
|
||||||
env_file:
|
env_file:
|
||||||
- /etc/1panel/envs/global.env
|
- /etc/1panel/envs/global.env
|
||||||
- /etc/1panel/envs/moviepilot/moviepilot2.env
|
- /etc/1panel/envs/movie-pilot/movie-pilot2.env
|
||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
$appsDir = "C:\Users\ms\Documents\JetBrains\IdeaProjects\appstore\apps"
|
|
||||||
# 遍历 apps 目录中的每个子目录
|
|
||||||
Get-ChildItem -Path $appsDir -Directory | ForEach-Object {
|
|
||||||
$appDir = $_.FullName
|
|
||||||
$dataFile = Join-Path $appDir "data.yml"
|
|
||||||
|
|
||||||
# 检查 data.yml 文件是否存在
|
|
||||||
if (Test-Path $dataFile) {
|
|
||||||
# 读取文件内容,指定编码为 UTF-8
|
|
||||||
$lines = Get-Content $dataFile -Encoding UTF8
|
|
||||||
|
|
||||||
# 查找 "additionalProperties:" 行的索引
|
|
||||||
$index = $lines.IndexOf("additionalProperties:")
|
|
||||||
|
|
||||||
if ($index -ne -1) {
|
|
||||||
# 只保留从 "additionalProperties:" 行开始的内容
|
|
||||||
$newContent = $lines[$index..($lines.Length - 1)]
|
|
||||||
|
|
||||||
# 将新的内容写回到文件中,指定编码为 UTF-8
|
|
||||||
Set-Content -Path $dataFile -Value $newContent -Encoding UTF8
|
|
||||||
Write-Host "处理完成: $dataFile"
|
|
||||||
} else {
|
|
||||||
Write-Host "未找到 'additionalProperties:' 行: $dataFile"
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
Write-Host "文件不存在: $dataFile"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user