Skip to content

Conversation

@Jesn
Copy link

@Jesn Jesn commented Aug 6, 2025

  • 修改 database.py 中的数据库连接参数,增加 timeout 设置,适应 Docker 环境
  • 在 start.py 中添加数据库初始化函数,并在程序启动时执行
  • 修改服务启动地址为 0.0.0.0,使得服务可在 Docker 容器中访问
  • 移除不必要的代码重复,优化启动流程

- 修改 database.py 中的数据库连接参数,增加 timeout 设置,适应 Docker 环境
- 在 start.py 中添加数据库初始化函数,并在程序启动时执行
- 修改服务启动地址为 0.0.0.0,使得服务可在 Docker 容器中访问
- 移除不必要的代码重复,优化启动流程
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant