From bc5c44dd049bad3b007be48b3f8d90886d63c105 Mon Sep 17 00:00:00 2001 From: System administrator Date: Mon, 29 May 2017 13:26:10 +0200 Subject: Initial commit --- bin/dca | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/dca (limited to 'bin/dca') diff --git a/bin/dca b/bin/dca new file mode 100755 index 0000000..2289ac1 --- /dev/null +++ b/bin/dca @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +shopt -s nullglob + +echo Using ./services/*.yml +COMPOSE_OPTIONS="" +for file in ./services/*.yml; do + COMPOSE_OPTIONS="${COMPOSE_OPTIONS} -f $file" +done + +export COMPOSE_PROJECT_NAME=server +export IMAGES=$PWD/images + +docker-compose $COMPOSE_OPTIONS "$@" -- cgit v1.2.3