annotate scripts/capture.sh @ 266:b72855a930f1

simplify method of getting project name
author smith@nwoca.org
date Mon, 12 Nov 2018 21:12:31 +0000
parents fea886ba7279
children
rev   line source
55
77ff739c078d add script to provide shortened docker ps with ssdt labels
smith@nwoca.org
parents:
diff changeset
1 #!/bin/bash
159
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
2 # current logs to standard out from container (all containers by default) in current project
191
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 159
diff changeset
3 source "${SSDT_SCRIPTS:-$(dirname "${BASH_SOURCE[0]}")}/.functions.sh"
fea886ba7279 DEP-12: add source for .functions.sh to all scripts using compose
smith@nwoca.org
parents: 159
diff changeset
4
159
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
5 docker-compose logs --no-color $1
303259c08b7d DEP-12: update backup scripts
smith@nwoca.org
parents: 85
diff changeset
6