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

按照README中部署项目(Pro版)教程部署失败 #229

Open
fangjian98 opened this issue Sep 23, 2024 · 0 comments
Open

按照README中部署项目(Pro版)教程部署失败 #229

fangjian98 opened this issue Sep 23, 2024 · 0 comments

Comments

@fangjian98
Copy link

运行环境

root@dev-fj-srv:/home/server/code/fangjian/ubuntu/dootask# docker -v
Docker version 24.0.2, build cb74dfc

root@dev-fj-srv:/home/server/code/fangjian/ubuntu/dootask# docker compose version
Docker Compose version v2.18.1

root@dev-fj-srv:/home/server/code/fangjian/ubuntu/dootask# uname -a
Linux dev-fj-srv 5.4.0-81-generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

多个容器出现数据库报错,APP_IPPR此项需要如何配置

2024/09/23 20:36:31 dootask-okr/app/core/db.go:56
[error] failed to initialize database, got error dial tcp: lookup "${APP_IPPR}.5": no such host
数据库加载失败: dial tcp: lookup "${APP_IPPR}.5": no such host
2024/09/23 20:38:26 数据库初始化!!
2024/09/23 20:38:26 数据库连接失败 err: dial tcp: lookup "${APP_IPPR}.5": no such host

希望得到的解决方案:

  1. docker-compose.yml 里面很多格式存在问题,请修正
  2. 需要提供一份可以运行的 .env.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

No branches or pull requests

1 participant