[GH-ISSUE #130] 每次升级 ,我的供应商配置文件都丢了(Docker方式部署) #104

Closed
opened 2026-02-27 07:18:00 +03:00 by kerem · 11 comments
Owner

Originally created by @igeekbb on GitHub (Dec 23, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/130

已持久化,这样对吗?

volumes:
  # 1. 基础配置文件
  - ./config.json:/app/config.json
  # 2. 日志
  - ./logs:/app/logs
  # 3. 【新增】持久化 Gemini 认证信息
  # 注意:现在容器内通常是 root 用户,路径为 /root/.gemini
  - ./data/gemini:/root/.gemini
  # 4. 【新增】持久化 Qwen 认证信息
  - ./data/qwen:/root/.qwen
  # 5. 【新增】持久化 Kiro/AWS 认证信息
  - ./data/aws:/root/.aws
  # 6. 【新增】如果使用 Antigravity
  - ./data/antigravity:/root/.antigravity
Originally created by @igeekbb on GitHub (Dec 23, 2025). Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/130 已持久化,这样对吗? volumes: # 1. 基础配置文件 - ./config.json:/app/config.json # 2. 日志 - ./logs:/app/logs # 3. 【新增】持久化 Gemini 认证信息 # 注意:现在容器内通常是 root 用户,路径为 /root/.gemini - ./data/gemini:/root/.gemini # 4. 【新增】持久化 Qwen 认证信息 - ./data/qwen:/root/.qwen # 5. 【新增】持久化 Kiro/AWS 认证信息 - ./data/aws:/root/.aws # 6. 【新增】如果使用 Antigravity - ./data/antigravity:/root/.antigravity
kerem closed this issue 2026-02-27 07:18:00 +03:00
Author
Owner

@justlovemaki commented on GitHub (Dec 23, 2025):

上传的授权文件,项目内的configs目录需要持久化
使用默认目录的,可以像你这样配置
我自己是这么启动的,没有使用上传授权文件:
docker run -d -p 3300:3000 -u "$(id -u):$(id -g)" --restart=always --privileged=true -v "/root:/root" -v "/root/config.json:/app/config.json" --name aiclient2api justlikemaki/aiclient-2-api

PS:geekbb大佬可以加下我微信

<!-- gh-comment-id:3685387857 --> @justlovemaki commented on GitHub (Dec 23, 2025): 上传的授权文件,项目内的configs目录需要持久化 使用默认目录的,可以像你这样配置 我自己是这么启动的,没有使用上传授权文件: docker run -d -p 3300:3000 -u "$(id -u):$(id -g)" --restart=always --privileged=true -v "/root:/root" -v "/root/config.json:/app/config.json" --name aiclient2api justlikemaki/aiclient-2-api PS:geekbb大佬可以加下我微信
Author
Owner

@igeekbb commented on GitHub (Dec 23, 2025):

上传的授权文件,项目内的configs目录需要持久化 使用默认目录的,可以像你这样配置 我自己是这么启动的,没有使用上传授权文件: docker run -d -p 3300:3000 -u "$(id -u):$(id -g)" --restart=always --privileged=true -v "/root:/root" -v "/root/config.json:/app/config.json" --name aiclient2api justlikemaki/aiclient-2-api

PS:geekbb大佬可以加下我微信

感谢,我再试试

<!-- gh-comment-id:3685459311 --> @igeekbb commented on GitHub (Dec 23, 2025): > 上传的授权文件,项目内的configs目录需要持久化 使用默认目录的,可以像你这样配置 我自己是这么启动的,没有使用上传授权文件: docker run -d -p 3300:3000 -u "$(id -u):$(id -g)" --restart=always --privileged=true -v "/root:/root" -v "/root/config.json:/app/config.json" --name aiclient2api justlikemaki/aiclient-2-api > > PS:geekbb大佬可以加下我微信 感谢,我再试试
Author
Owner

@justlovemaki commented on GitHub (Dec 23, 2025):

佬,真的不加个V?项目首页扫一扫

<!-- gh-comment-id:3685923079 --> @justlovemaki commented on GitHub (Dec 23, 2025): 佬,真的不加个V?项目首页扫一扫
Author
Owner

@igeekbb commented on GitHub (Dec 23, 2025):

佬,真的不加个V?项目首页扫一扫

多谢大佬!我平时不太常用微信处理这类消息,怕漏掉。

<!-- gh-comment-id:3686551715 --> @igeekbb commented on GitHub (Dec 23, 2025): > 佬,真的不加个V?项目首页扫一扫 多谢大佬!我平时不太常用微信处理这类消息,怕漏掉。
Author
Owner

@igeekbb commented on GitHub (Dec 27, 2025):

是否有计划增加 Z.AI(GLM-4.7)的支持,之前一直用 ZyphrZero/z.ai2api_python 可惜已停更,佬看看。

<!-- gh-comment-id:3693975844 --> @igeekbb commented on GitHub (Dec 27, 2025): 是否有计划增加 Z.AI(GLM-4.7)的支持,之前一直用 ZyphrZero/z.ai2api_python 可惜已停更,佬看看。
Author
Owner

@justlovemaki commented on GitHub (Dec 27, 2025):

刚去看了,这项目在更新呢

<!-- gh-comment-id:3694060791 --> @justlovemaki commented on GitHub (Dec 27, 2025): 刚去看了,这项目在更新呢
Author
Owner

@igeekbb commented on GitHub (Dec 27, 2025):

刚去看了,这项目在更新呢
不,不行了……
Image

<!-- gh-comment-id:3694065036 --> @igeekbb commented on GitHub (Dec 27, 2025): > 刚去看了,这项目在更新呢 不,不行了…… <img width="1826" height="824" alt="Image" src="https://github.com/user-attachments/assets/8677c6ce-8111-41b8-99db-ed96b5ef4d72" />
Author
Owner

@igeekbb commented on GitHub (Jan 8, 2026):

gemini-antigravity 好像全挂了

<!-- gh-comment-id:3721843732 --> @igeekbb commented on GitHub (Jan 8, 2026): gemini-antigravity 好像全挂了
Author
Owner

@justlovemaki commented on GitHub (Jan 8, 2026):

修了

<!-- gh-comment-id:3722932362 --> @justlovemaki commented on GitHub (Jan 8, 2026): 修了
Author
Owner

@igeekbb commented on GitHub (Jan 14, 2026):

Gemini Antigravity 的 gemini-3-pro-preview 用不了了,导致我一直在用gemini-3-pro-image-preview
提示:gemini-3-pro-preview: You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license. Please contact your administrator to request a license. (#3501)

之前是可以的

Image
<!-- gh-comment-id:3748414675 --> @igeekbb commented on GitHub (Jan 14, 2026): Gemini Antigravity 的 gemini-3-pro-preview 用不了了,导致我一直在用gemini-3-pro-image-preview 提示:gemini-3-pro-preview: You are currently configured to use a Google Cloud Project but lack a Gemini Code Assist license. Please contact your administrator to request a license. (#3501) 之前是可以的 <img width="1914" height="1424" alt="Image" src="https://github.com/user-attachments/assets/18f89971-00aa-440b-9910-2f3e02e2ba2a" />
Author
Owner

@justlovemaki commented on GitHub (Jan 14, 2026):

?好像没有这种回退机制呢,现在gemini-3-pro好像只能在编程ide中使用,反重力有提示词检测

<!-- gh-comment-id:3748564428 --> @justlovemaki commented on GitHub (Jan 14, 2026): ?好像没有这种回退机制呢,现在gemini-3-pro好像只能在编程ide中使用,反重力有提示词检测
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#104
No description provided.