Skip to content

Commit

Permalink
Improve startup message Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaars committed Dec 22, 2021
1 parent c5389f3 commit c000a9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ function write_start_message() {
\ /\ / | __/ | |_) | | |__| | | (_) | | (_| | | |_
\/ \/ \___| |_.__/ \_____| \___/ \__,_| \__|
" >> webgoat.log
echo "WebGoat and WebWolf successfully started..." >> webgoat.log
pidof nginx >/dev/null && echo "Browse to http://localhost to get started" >> webgoat.log || echo "Browse to http://localhost:8080/WebGoat or http://localhost:9090/WebWolf to get started" >> webgoat.log
echo $'WebGoat and WebWolf successfully started...\n' >> webgoat.log
echo "NOTE: port numbers mentioned below may vary depending on your port mappings while starting the Docker container" >> webgoat.log
pidof nginx >/dev/null && echo "Browse to http://localhost to get started" >> webgoat.log || echo "Browse to http://localhost:8080/WebGoat or http://localhost:9090/WebWolf to get started." >> webgoat.log
}

function tail_log_file() {
Expand Down

0 comments on commit c000a9b

Please sign in to comment.