2 # Pull in Variables from d.props
5 # Only need Cassandra Link Info when initializing the container.
6 if [ ! -e ./cass.props ]; then
7 cp cass.props.init cass.props
8 echo "Edit appropriate Cassandra Link Info into cass.props"
14 if [ "$1" == "" ]; then
15 AAF_COMPONENTS=$(cat components)
20 for AAF_COMPONENT in ${AAF_COMPONENTS}; do
21 case "$AAF_COMPONENT" in
24 LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
28 LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
32 LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
39 LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST"
49 echo Starting aaf_$AAF_COMPONENT...
53 --name aaf_$AAF_COMPONENT \
54 --hostname="${AAF_COMPONENT}.aaf.osaaf.org" \
55 --add-host="$HOSTNAME:$HOST_IP" \
56 --add-host="aaf.osaaf.org:$HOST_IP" \
59 --mount 'type=volume,src=aaf_config,dst='$CONF_ROOT_DIR',volume-driver=local' \
60 ${PREFIX}${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}