Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

wait-for-it keeps spinning it's wheels #23

Open
raindropworks opened this issue Jul 2, 2022 · 0 comments
Open

wait-for-it keeps spinning it's wheels #23

raindropworks opened this issue Jul 2, 2022 · 0 comments

Comments

@raindropworks
Copy link

raindropworks commented Jul 2, 2022

I think this is an issue of not understanding the install process for this, and I'm hoping you can help clarify if that's the case or not.

I've installed using the following CLI command (passwords redacted)

docker run -d
--name polr
--env DB_HOST='localhost'
--env DB_DATABASE='rdw_polr_docker'
--env DB_USERNAME='rdw_polr_docker'
--env DB_PASSWORD='dbPassword'
--env APP_ADDRESS='rdw.one'
--env ADMIN_USERNAME='heatheriac'
--env ADMIN_PASSWORD='password'
--publish 18180:8080
--restart always
ajanvier/polr`

but in my logs in Portainer, I just get the same three lines repeating over and over:

wait-for-it.sh: waiting 120 seconds for localhost:3306
wait-for-it.sh: timeout occurred after waiting 120 seconds for localhost:3306
wait-for-it.sh: strict mode, refusing to execute subprocess

It's like the database isn't spinning up, and I'm not sure if this means if there's some secondary container I'm supposed to be running or what

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant