eddy 33c1068380 feat: 为 Sub2API 添加 app 镜像每日自动更新
- 生成 auto-update.sh,仅拉取并重启 app 服务(不动 db / redis)
- 注册每天 04:00 的定时任务,按脚本路径去重避免重复写入
- 兼容 docker compose 与 docker-compose,安装与更新均自动检测
- 更新后清理悬空镜像,并写入 auto-update.log 日志
- 安装结束时打印手动更新提示与自动更新说明
2026-07-01 03:11:59 +08:00
2025-11-06 20:17:23 +08:00
2025-11-06 20:17:23 +08:00
2026-07-01 03:00:22 +08:00

vps脚本

常用脚本

  • sysUpdate
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/01-sysUpdate.sh)
  • sysCleanup
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/02-sysCleanup.sh)
  • docker
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/init/03-docker.sh)

安装

  • 01-Nginx
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/01-Nginx.sh)
  • 02-NginxProxy
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/02-NginxProxy.sh)
  • 03-X-UI.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/03-X-UI.sh)
  • 04-FRP.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/04-FRP.sh)
  • 05-ZeroTier.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/05-ZeroTier.sh)
  • 06-Rustdesk.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/06-Rustdesk.sh)
  • 07-Alist.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/07-Alist.sh)
  • 08-Duplicati.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/08-Duplicati.sh)
  • 09-Syncthing.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/09-Syncthing.sh)
  • 10-Vaultwarden.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/10-Vaultwarden.sh)
  • 11-EasyImage.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/11-EasyImage.sh)
  • 12-Wordpress.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/12-Wordpress.sh)
  • 13-Nextcloud.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/13-Nextcloud.sh)
  • 14-Joplin.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/14-Joplin.sh)
  • 15-LobeChat.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/15-LobeChat.sh)
  • 20-NewApi.sh
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/20-NewApi.sh)
  • 23-Sub2API
bash <(curl -fsSL https://gitea.tohub.top/Share/vps/raw/branch/main/install/23-Sub2API.sh)
S
Description
No description provided
Readme MIT 72 MiB
Languages
Shell 100%