Selaa lähdekoodia

remove hard coded container name when checking if mysl is accepting connection

test
Jean-Christophe Vanhalle 5 vuotta sitten
vanhempi
commit
6336d5671d
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      create.sh

+ 1
- 1
create.sh Näytä tiedosto

sleep 1; sleep 1;
done done


while ! docker exec wptest-web /bin/sh -c "mysqladmin ping -h $PREFIX-db -P 3306 --protocol=tcp -u user -puser --silent" ; do
while ! docker exec $PREFIX-web /bin/sh -c "mysqladmin ping -h $PREFIX-db -P 3306 --protocol=tcp -u user -puser --silent" ; do
echo "Waiting for the mysql server in the db container to be up and running..."; echo "Waiting for the mysql server in the db container to be up and running...";
sleep 1; sleep 1;
done done

Loading…
Peruuta
Tallenna