forked from cloud-barista/cb-spider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.env
31 lines (24 loc) · 826 Bytes
/
setup.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# root path of cb-spider
SCRIPT_DIR=`dirname ${BASH_SOURCE[0]-$0}`
export CBSPIDER_ROOT=`cd $SCRIPT_DIR && pwd`
### Set Spider server Address of Service Address
# cf) https://github.com/cloud-barista/cb-spider/wiki/CB-Spider-Service-Address-Configuration
# default: unset SERVER_ADDRESS and unset SERVICE_ADDRESS
# examples for other service port
#export SERVER_ADDRESS=":3000"
# examples for K8S env
#export SERVER_ADDRESS=":1024"
#export SERVICE_ADDRESS="1.2.3.4:31024"
### Set the library type of Cloud Driver pkg.
# ON is a shared library type.
# default: OFF (will be deprecated)
export PLUGIN_SW=OFF
# root path of cb-log
export CBLOG_ROOT=$CBSPIDER_ROOT
# docker test option
# default: OFF
export DOCKER_POC_TEST=OFF
# if value is empty, REST Auth disabed.
export API_USERNAME=
export API_PASSWORD=