4 ms·
It’s possible to use health checks for that kind of “wait-for-it”-s. Checkout the configuration here: https://evilmartians.com/chronicles/ruby-on-whales-docker-
by palkan 6y ago
It’s possible to use health checks for that kind of “wait-for-it”-s. Checkout the configuration here: https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development https://evilmartians.com/chronicles/ruby-on-whales-docker-fo...
Note that it requires using Compose v2.4, not 3.x.
- pydry 6y agough but then you have to use polling instead of epoll. this really isn't ideal if you want to minimize startup time for a test.