eddy 6b7a786ddf fix: 保留 Sub2API 重装时的凭证配置
- 生成持久化 .env 文件,用于保存数据库凭证、密钥、时区和初始管理员账户
- 优先复用已有 .env,并尽量迁移旧 compose 中的明文 Postgres 凭证
- 更新 docker-compose.yml,改为环境变量驱动初始化,并加入健康检查和 AUTO_SETUP
- 调整重装/更新提示,明确保留现有数据与凭证配置
2026-07-05 04:48:31 +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%