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-compose中的wait-for-it脚本功能问题 #105

Open
Forwardxiang opened this issue Sep 11, 2021 · 0 comments
Open

请教关于docker-compose中的wait-for-it脚本功能问题 #105

Forwardxiang opened this issue Sep 11, 2021 · 0 comments

Comments

@Forwardxiang
Copy link

你好!
在docker-compose.yml配置文件中,使用wait-for-it.sh功能测试依赖服务的端口是否正常,以此来判定是否该启动本容器,这个方案很好。
但是这只适合与依赖只有一个的情况,如果有多个依赖该怎么做呢?command命令里能执行多个wait-for-it.sh脚本吗?
谢谢!

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