feat: 添加 accounts.json 卷挂载
- 确保 Docker 重启后能加载最新的多账号配置 - 使用 :ro 只读挂载,配置文件由 sync-accounts.sh 管理
This commit is contained in:
@@ -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/"]
|
||||
|
||||
Reference in New Issue
Block a user