From dd58dec1f515487d207fdbc270a3a745d24acabe Mon Sep 17 00:00:00 2001 From: empty Date: Sat, 27 Dec 2025 12:55:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20accounts.json=20?= =?UTF-8?q?=E5=8D=B7=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 确保 Docker 重启后能加载最新的多账号配置 - 使用 :ro 只读挂载,配置文件由 sync-accounts.sh 管理 --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index f22eac1..de2ed24 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,6 +22,8 @@ services: volumes: # 可选:持久化auth.json以保存刷新的tokens - ./data:/app/data + # 多账号配置文件(由 sync-accounts.sh 同步) + - ./accounts.json:/app/accounts.json:ro restart: unless-stopped healthcheck: test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/"]