fix(1panel): 安装向导脱敏、配置一致性与 nx update 门控回滚

- /state 白名单脱敏;init-db db_port 修复;connection-check 后清空 redis_pass
- install.html sessionStorage token 与无 token 友好提示
- nx update: 镜像 import 门控、健康失败自动回滚、PENDING=0 回写、卷双写
- Redis 容器改名密码迁移;备份失败默认 WARN;update.sh 管道 ROOT 回退
This commit is contained in:
Nexus Deploy
2026-06-06 17:40:30 +08:00
parent 850038a3ec
commit 5a56e5a8cb
14 changed files with 557 additions and 48 deletions
+2 -1
View File
@@ -22,7 +22,8 @@ NEXUS_DB_MAX_OVERFLOW=20
# NEXUS_1PANEL_DB_HOST=1Panel-mysql-xxxx
# NEXUS_1PANEL_REDIS_HOST=1Panel-redis-xxxx
# 外置 Redis(非 1Panel 时用 host.docker.internal
# 宿主机 Compose 插值/ nx update 同步用;安装向导完成后以卷内 /app/.env 为准(不经 Compose 注入
# 1Panel 有密码时: redis://:你的密码@1Panel-redis-xxxx:6379/0
NEXUS_REDIS_URL=redis://host.docker.internal:6379/0
# Optional