Open yorickdowne opened 3 years ago
How long do you think it should wait for? Should it loop for a certain period of time?
60s would be sufficient to allow PostgreSQL to start up if it's in the same k8s/docker-compose "stack"
Isn't it sufficient to just use https://github.com/peter-evans/docker-compose-healthcheck or https://github.com/vishnubob/wait-for-it and then make PG a dependency for the CL service?
Description On startup of chainlink node, have a wait loop for configured PGSQL URL instead of exiting.
Motivation This is a QoL feature, it makes for easier deployment in docker-compose dev environments. This can be solved currently with a custom image that adds dockerize.