added show-log script

This commit is contained in:
Christoph Schranz 2020-07-03 10:23:54 +02:00
parent 94a8fcbd4c
commit f22862e503
2 changed files with 2 additions and 1 deletions

View File

@ -102,6 +102,7 @@ It is equal to these commands:
With these commands we can see if everything worked well: With these commands we can see if everything worked well:
```bash ```bash
bash show-local.sh # a env-var safe wrapper for a 'docker-compose logs -f'
docker ps docker ps
docker logs [service-name] docker logs [service-name]
``` ```

2
show-local.sh Normal file → Executable file
View File

@ -3,4 +3,4 @@ cd $(cd -P -- "$(dirname -- "$0")" && pwd -P)
# Export default port to make compose file valid. # Export default port to make compose file valid.
export JUPYTER_PORT=8888 export JUPYTER_PORT=8888
docker-compose ps docker-compose logs -f