From f22862e5035211bde559792364b0d200d7615c92 Mon Sep 17 00:00:00 2001 From: Christoph Schranz Date: Fri, 3 Jul 2020 10:23:54 +0200 Subject: [PATCH] added show-log script --- README.md | 1 + show-local.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 show-local.sh diff --git a/README.md b/README.md index e2d17e8..b1ed4c8 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ It is equal to these commands: With these commands we can see if everything worked well: ```bash +bash show-local.sh # a env-var safe wrapper for a 'docker-compose logs -f' docker ps docker logs [service-name] ``` diff --git a/show-local.sh b/show-local.sh old mode 100644 new mode 100755 index ce24f2d..e650553 --- a/show-local.sh +++ b/show-local.sh @@ -3,4 +3,4 @@ cd $(cd -P -- "$(dirname -- "$0")" && pwd -P) # Export default port to make compose file valid. export JUPYTER_PORT=8888 -docker-compose ps +docker-compose logs -f