servicebot
servicebot copied to clipboard
/usr/src/app/bin/wait-for-it.js:3 dies on docker start, out of retries
On a clean minimal CentOS 7 image with no selinux/firewalls, and only docker/docker-compose/git+essentials installed, the following error is thrown when doing docker-compose up
This happens with the default docker-compose.yml
servicebot_1 | /usr/src/app/bin/wait-for-it.js:3
servicebot_1 | if (err) throw new Error(err);
servicebot_1 | ^
servicebot_1 |
servicebot_1 | Error: Error: out of retries
servicebot_1 | at /usr/src/app/bin/wait-for-it.js:3:20
servicebot_1 | at tryToConnect (/usr/src/app/node_modules/wait-for-port/index.js:42:40)
servicebot_1 | at retry (/usr/src/app/node_modules/wait-for-port/index.js:35:5)
servicebot_1 | at Timeout.
Would greatly appreciate if someone could tell me why it dies :-) The database docker img launches fine.