summaryrefslogtreecommitdiffstats
path: root/auth/docker/drun.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker/drun.sh')
-rw-r--r--auth/docker/drun.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh
index 32660760..994bb556 100644
--- a/auth/docker/drun.sh
+++ b/auth/docker/drun.sh
@@ -91,14 +91,21 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
#ADD_HOST="$ADD_HOST --add-host=$CASS_HOST"
#fi
#--hostname="${AAF_COMPONENT}.${NAMESPACE}" \
+ # --env aaf_locate_url=https://aaf-locate:8095 \
# $ADD_HOST \
+ if [ -n "${DUSER}" ]; then
+ THE_USER="--user $DUSER"
+ fi
$DOCKER run \
-d \
+ ${THE_USER} \
--name aaf-$AAF_COMPONENT \
${LINKS} \
--env AAF_ENV=${AAF_ENV} \
--env aaf_locator_container=docker \
- --env aaf_locator_fqdn=$HOSTNAME \
+ --env aaf_locator_container_ns=${NAMESPACE} \
+ --env aaf_locator_fqdn=${HOSTNAME} \
+ --env aaf_locator_public_hostname=${HOSTNAME} \
--env LATITUDE=${LATITUDE} \
--env LONGITUDE=${LONGITUDE} \
--env CASSANDRA_CLUSTER=${CASSANDRA_CLUSTER} \