You can use this one liner
until wget -qO /tmp/c http://web:8000/tile/balsa-chat-v1;do sleep 1;done;sh /tmp/c