From a4218b00163f043cf744a84d77546d5cab70b71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Zubcevic?= Date: Fri, 17 Sep 2021 17:10:15 +0200 Subject: [PATCH] Update start.sh 10 seconds is sometime to fast. WebWolf will fail to start if the database of WebGoat is not up. --- docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/start.sh b/docker/start.sh index b1194e169..de84b044a 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -16,7 +16,7 @@ java \ --add-opens java.base/java.io=ALL-UNNAMED \ -jar webgoat.jar --webgoat.build.version="$1" --server.address=0.0.0.0 > webgoat.log & -sleep 10 +sleep 30 echo "Starting WebWolf..." java -Duser.home=/home/webgoat -Dfile.encoding=UTF-8 -jar webwolf.jar --webgoat.build.version=$1 --server.address=0.0.0.0 > webwolf.log &