[BUG]docker desktop强制退出后sqlbot无限重启
@xuwei-fit2cloud is already working on this.
Since Jul 30, 2026.
Assessment
This issue has not been assessed yet.
Description
SQLBot Version
Run Mode
v1.10.0
Describe the bug
在windows docker中部署,当出现强制退出再启动时,一直在重启。看了日志分析是pgsql在做崩溃恢复,但sqlbot启动命令没有等待,发现数据库连不上就重启。
To Reproduce
Steps to reproduce the behavior:
- 在windows中以docker方式部署,具体部署方式参照官方文档中,windows部署步骤。
- docker desktop 强制退出再重启后,出现sqlbot容器一直重启状态。
Expected behavior
启动命令增加延时解决了。
docker run -d --name sqlbot --restart unless-stopped -p 18000:8000 -p 18001:8001 -v D:\data\sqlbot\excel:/opt/sqlbot/data/excel -v D:\data\sqlbot\file:/opt/sqlbot/data/file -v D:\data\sqlbot/images:/opt/sqlbot/images -v D:\data\sqlbot/logs:/opt/sqlbot/logs -v D:\data\postgresql:/var/lib/postgresql/data --privileged=true --entrypoint /bin/sh dataease/sqlbot -c "su postgres -c 'postgres -D /var/lib/postgresql/data &' && wait-for-it 127.0.0.1:5432 -t 120 && sleep 60 && cd /opt/sqlbot/app && exec sh start.sh"
- Dominant language
- JavaScript
- Stars
- 6.8k
- Forks
- 882
- Avg merge
- 4h 41m
- Merged PRs (30d)
- 35
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dataease/SQLBot
-
SQLBot OpenFeedback required
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
[FEATURE] 语言支持泰语 OpenDone feature
-
bug Done
-
bug Done
-
Done feature
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100