ajanvier/docker-polr

wait-for-it keeps spinning it's wheels

Opened this issue · 0 comments

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