-
Notifications
You must be signed in to change notification settings - Fork 28
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
can't resolve host name #11
Comments
That is weird. Why is the first time resolving the hostname to 0.0.0.0 and the other times it isn't? Could you provide a simple docker-compose so I can reproduce that? |
Closing for no updates. Please reopen it if you have new details. |
Could you please reopen this ? Either it is a problem with my setup or the tool is wrongly recognising the host. Example in: Just run: Keep geting:
While running it outside from docker-compose, running locally: |
Hi, if i use waitforit within a docker-compose project, the waitforit app can't resolve the database hostname on the first run.
I use the following command:
waitforit -full-connection=tcp://database:3306 -timeout=20 -debug
On the first run the output is "ping TCP: 0.0.0.0:3306" until the 20 secound timeout comes in.
On the secound run the output is "ping TCP: database:3306".
Setup: mysql:8 + node:7-alpine
Node depends on the mysql database in the docker-compose.yml.
Is it possible to resolve the hostname on every request and not at the first start?
The text was updated successfully, but these errors were encountered: