Closed nolim1t closed 4 years ago
If we're using .sh
script, isn't it better to do the check natively via shell and skip using node entirely? We can then implement something like this https://github.com/vishnubob/wait-for-it/
Do you think this will resolve #19 .. yes Im using bash because node has some issues
cool.. I've linked it then
Great. Do you think adding a timeout, of let's say 30s, would be a good idea? So that in case manager fails for some reason, the middleware isn't stuck in an infinite loop
sure
I'm putting all of #19 in this PR too
pushing to getumbrel/middleware:v0.1.0.5
(will keep reusing this)
Fantastic!
Since there are incompatible changes (now middleware won't work without manager), let's merge this once once umbrel-manager
0.1.0 is released (i.e. https://github.com/getumbrel/umbrel-manager/pull/1 is merged).
Need to resolve some of the issues in https://github.com/getumbrel/umbrel-compose/pull/12