Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker版启动后,可能得等一阵子才能用api #1547

Open
5 tasks done
wencan opened this issue Jun 20, 2024 · 0 comments
Open
5 tasks done

docker版启动后,可能得等一阵子才能用api #1547

wencan opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wencan
Copy link

wencan commented Jun 20, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
docker部署one-api在自己的两台电脑上,两台电脑都出现了一样的问题
数据库用sqllite,挂载了一个本地目录到docker作为/data目录
添加了百度千帆的渠道

大概有一半以上的概率,docker容器启动后,需要等若干时间,api才能使用。也有启动后,很快能用的情况。但没有一直不能用的情况。
看docker logs,没发现有问题的日志

复现步骤
见问题描述

预期结果
每次docker启动,api就能立马可用

@wencan wencan added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant