3 # ============LICENSE_START====================================================
5 # ===========================================================================
6 # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
7 # ===========================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
12 # http://www.apache.org/licenses/LICENSE-2.0
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END====================================================
24 DOCKER=${DOCKER:=docker}
27 -v "aaf_config:$CONF_ROOT_DIR" \
28 -v "aaf_status:/opt/app/aaf/status" \
29 --add-host="$HOSTNAME:$HOST_IP" \
30 --add-host="aaf.osaaf.org:$HOST_IP" \
31 --env HOSTNAME=${HOSTNAME} \
32 --env AAF_ENV=${AAF_ENV} \
33 --env AAF_REGISTER_AS=${AAF_REGISTER_AS} \
34 --env AAF_LOCATOR_AS=${AAF_LOCATOR_AS} \
35 --env LATITUDE=${LATITUDE} \
36 --env LONGITUDE=${LONGITUDE} \
37 --env CASS_HOST=${CASS_HOST} \
38 --env CASSANDRA_CLUSTER=${CASSANDRA_CLUSTER} \
39 --env CASSANDRA_USER=${CASSANDRA_USER} \
40 --env CASSANDRA_PASSWORD=${CASSANDRA_PASSWORD} \
41 --env CASSANDRA_PORT=${CASSANDRA_PORT} \
42 --name aaf_config_$USER \
43 $PREFIX${ORG}/${PROJECT}/aaf_config:${VERSION} \