diff options
author | Bouni | 2023-08-11 16:11:59 +0200 |
---|---|---|
committer | Bouni | 2023-08-11 16:11:59 +0200 |
commit | 95f9f9d1cb9589e24a9391efbcdfc213bd3186e0 (patch) | |
tree | e320927e4f1ba0fc00c3c3064f08de1e355d4344 /doco | |
download | aur-doco.tar.gz |
Initial version of doco
Diffstat (limited to 'doco')
-rwxr-xr-x | doco | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#!/bin/sh + +case $1 in + "update" ) + docker-compose $(find . -maxdepth 2 -name compose.*.yaml -type f -print | sed -e 's/^/-f /') pull --ignore-pull-failures && \ + docker-compose $(find . -maxdepth 2 -name compose.*.yaml -type f -print | sed -e 's/^/-f /') up -d;; + "status" ) + docker-compose $(find . -maxdepth 2 -name compose.*.yaml -type f -print | sed -e 's/^/-f /') ps -a;; + "lf" ) + docker-compose $(find . -maxdepth 2 -name compose.*.yaml -type f -print | sed -e 's/^/-f /') logs -f ${@:2};; + "clean" ) + docker system prune --volumes;; + *) + docker-compose $(find . -maxdepth 2 -name compose.*.yaml -type f -print | sed -e 's/^/-f /') $*;; +esac + + + |