|
|
@@ -2,6 +2,17 @@
|
|
|
# 复制为 .env 后编辑(.env 不入库,含敏感信息)
|
|
|
#
|
|
|
# Copy to .env and edit (.env is not committed; it contains sensitive info)
|
|
|
+#
|
|
|
+# ⚠️ 升级警告 — 升级到含 dsh 0.1.2-rc.1+ 鉴权迁移的版本时,必须先 `git pull` 同步
|
|
|
+# docker-compose.yml / Caddyfile / entrypoint.sh(以及其 token 抓取后台任务),仅
|
|
|
+# `docker compose pull` 拉新 image 配旧 compose 文件会导致 healthcheck 永远 unhealthy
|
|
|
+# 且 web 服务裸奔(无鉴权)。详见 PR #7 commit message 与 README Quick Start。
|
|
|
+#
|
|
|
+# ⚠️ Upgrade warning — to upgrade to a version with dsh 0.1.2-rc.1+ auth migration,
|
|
|
+# you must `git pull` first to sync docker-compose.yml / Caddyfile / entrypoint.sh
|
|
|
+# (and its token-extraction background task). `docker compose pull` alone (new image,
|
|
|
+# old compose file) leaves healthcheck permanently unhealthy AND exposes the web
|
|
|
+# service without auth. See PR #7 commit message and README Quick Start for details.
|
|
|
|
|
|
# dsh 0.1.2-rc.1+:鉴权迁回 dsh 自身(一次性 token + 持久 cookie),caddy basic auth 已移除。
|
|
|
# 下面两个变量自 0.1.2-rc.1 起不再被 caddy 使用,**仅在回退到 ≤0.1.1-rc.2 时生效**——
|