summaryrefslogtreecommitdiff
path: root/bin/dca
blob: 2289ac1448cae536c6a0629cd051fc4913b2e45b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 "$@"