hack/dc don't docker-compose up everything

Signed-off-by: Bohan Chen <bochen@pivotal.io>
This commit is contained in:
Bohan Chen 2020-12-02 14:33:19 -05:00
parent 506a8ab0ec
commit bbe55ee064
2 changed files with 7 additions and 2 deletions

View File

@ -5,9 +5,10 @@ set -e -u
cd $(dirname $0)/..
args=(-f docker-compose.yml)
core=(vault prometheus jaeger)
for f in hack/overrides/*.yml; do
args+=(-f $f)
for f in "${core[@]}"; do
args+=(-f "hack/overrides/$f.yml")
done
docker-compose ${args[@]} "$@"

View File

@ -1,5 +1,9 @@
# oidc.yml - a docker-compose override that adds a OIDC auth to the stack
#
# Note: due to docker networking, when logging into Concourse, it'll redirect
# you to `http://oidc:9000/auth?client_id=...`. Just change the hostname to be
# `http://localhost:9000/auth?client_id=...` and it'll work just fine.
#
# There are 2 users and 1 group:
# user1@example.com:user1pass;group1
# user2@example.com:user2pass