diff --git a/localinstall/2-install_api.sh b/localinstall/2-install_api.sh index 504f3c9..1c33ea6 100755 --- a/localinstall/2-install_api.sh +++ b/localinstall/2-install_api.sh @@ -28,8 +28,8 @@ fi cat ../../ssh.key.pub > docker/ssh/user-data/authorized_keys # down, just in case old containers are running -docker-compose down -docker-compose up -d +docker compose down +docker compose up -d echo "Waiting for API to be up" sleep 1 # loop until the API is up, try 5 times diff --git a/localinstall/4-start-cycle.sh b/localinstall/4-start-cycle.sh index 9b6c1fb..5ce5221 100755 --- a/localinstall/4-start-cycle.sh +++ b/localinstall/4-start-cycle.sh @@ -2,8 +2,8 @@ . ./main.cfg cd kernelci/kernelci-pipeline -docker-compose down -docker-compose up -d -echo "You can view now logs of containers using docker logs -f or docker-compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories" +docker compose down +docker compose up -d +echo "You can view now logs of containers using docker logs -f or docker compose logs -f in kernelci/kernelci-pipeline or kernelci/kernelci-api directories" echo "Also you can do docker ps to see running containers, and in case of ongoing builds, you can view their logs too by docker logs -f " echo "You can also open API viewer at http://127.0.0.1:8001/viewer"