1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 05:47:03 +09:00

tests/main.sh fixed docker compose cmd

This commit is contained in:
Grigory Efimov 2024-11-20 11:26:05 -03:00
parent 400a378351
commit 43a62c941f
No known key found for this signature in database
GPG key ID: 0A88C34DFA7FD939

View file

@ -41,7 +41,7 @@ runNetcheck() {
sleep 3
# wait for netcheck to finish checking
while true; do
STATUS=$( docker inspect --format='{{json .State.Health.Status}}' $(docker-compose ps --quiet netcheck) )
STATUS=$( docker inspect --format='{{json .State.Health.Status}}' $(docker compose ps --quiet netcheck) )
if [[ "$STATUS" != "starting" ]]; then
$DEBUG && echo "Container 'netcheck' health status: '$STATUS', continue"
break