annotate scripts/capture.sh @ 255:adbef03ee9e8

add max days to access log
author smith@nwoca.org
date Tue, 29 May 2018 17:12:03 +0100
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