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

wait-for-it.sh file if downloaded and unzipped using winrar - creates problem #85

Open
inspiraller opened this issue Dec 4, 2019 · 1 comment

Comments

@inspiraller
Copy link

inspiraller commented Dec 4, 2019

If using windows operating system this may cause a problem.
Desite supplying a command with host and port as below:

When using command in docker-compose

    command: ["/wait-for-it.sh", "myservice:4444", "npm", "test"]

error

"Error: you need to provide a host and port to test."

Solution, download file manually by clicking 'raw' on github and downloading it.

@garethrandall
Copy link
Contributor

You need to add in the "--" before the command you want to run. For example:

command: ["/wait-for-it.sh", "myservice:4444", "--", "npm", "test"]

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

2 participants