summaryrefslogtreecommitdiffstats
path: root/auth/docker
diff options
context:
space:
mode:
Diffstat (limited to 'auth/docker')
-rw-r--r--auth/docker/drun.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh
index c6914a09..45b5893f 100644
--- a/auth/docker/drun.sh
+++ b/auth/docker/drun.sh
@@ -35,15 +35,15 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
case "$AAF_COMPONENT" in
"service")
PORTMAP="8100:8100"
- LINKS="--link aaf_cass:cassandra "
+ LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
;;
"locate")
PORTMAP="8095:8095"
- LINKS="--link aaf_cass:cassandra "
+ LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
;;
"oauth")
PORTMAP="8140:8140"
- LINKS="--link aaf_cass:cassandra "
+ LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
;;
"gui")
PORTMAP="8200:8200"
@@ -51,6 +51,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
"cm")
PORTMAP="8150:8150"
LINKS="--link aaf_cass:cassandra "
+ LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
;;
"hello")
PORTMAP="8130:8130"