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安装apollo 镜像里面的demo.sh缺少读取环境变量的逻辑 #5145

Closed
huangxinze opened this issue May 19, 2024 · 4 comments
Labels

Comments

@huangxinze
Copy link

huangxinze commented May 19, 2024

描述bug

使用docker安装apollo 镜像里面的demo.sh缺少读取环境变量的逻辑;我从下面这个地址下载的docker-compose.yml文件,然后把设置了mysql的密码,启动quick-start的密码的字段后,一直提示数据库链接失败,经确认 镜像里面的启动脚本 不是最新的,没有读取环境变量的逻辑在里面
https://www.apolloconfig.com/#/zh/deployment/quick-start-docker

复现

通过如下步骤可以复现:

  1. 下载docker-compose.yml
  2. 修改mysql密码
  3. sudo docker-compose up 启动服务
  4. 启动失败,提示数据库链接失败

期望

修复 下载镜像里面的 demo.sh 启动脚本,支持读取环境变量

@nobodyiam
Copy link
Member

You may check whether the image in your local cache is the latest or not.

https://hub.docker.com/r/nobodyiam/apollo-quick-start/tags

@huangxinze
Copy link
Author

You may check whether the image in your local cache is the latest or not.

https://hub.docker.com/r/nobodyiam/apollo-quick-start/tags

You are correct, it was solved by downloading the image of version 2.2.0, thanks

Copy link

stale bot commented Jun 28, 2024

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 28, 2024
Copy link

stale bot commented Jul 7, 2024

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

@stale stale bot closed this as completed Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants