summaryrefslogtreecommitdiffstats
path: root/auth/docker
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker')
-rw-r--r--auth/docker/aaf.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/auth/docker/aaf.sh b/auth/docker/aaf.sh
index 3fc41496..5757051f 100644
--- a/auth/docker/aaf.sh
+++ b/auth/docker/aaf.sh
@@ -1,5 +1,8 @@
#!/bin/bash
. ./d.props
+if [ -e ./cass.props ]; then
+ . ./cass.props
+fi
function run_it() {
docker run $@ \
@@ -11,6 +14,11 @@ function run_it() {
--env AAF_REGISTER_AS=${AAF_REGISTER_AS} \
--env LATITUDE=${LATITUDE} \
--env LONGITUDE=${LONGITUDE} \
+ --env CASS_HOST=${CASS_HOST} \
+ --env CASSANDRA_CLUSTER=${CASSANDRA_CLUSTER} \
+ --env CASSANDRA_USER=${CASSANDRA_USER} \
+ --env CASSANDRA_PASSWORD=${CASSANDRA_PASSWORD} \
+ --env CASSANDRA_PORT=${CASSANDRA_PORT} \
--name aaf_config_$USER \
$PREFIX${ORG}/${PROJECT}/aaf_config:${VERSION} \
/bin/bash $PARAMS