diff options
Diffstat (limited to 'deployment/run.sh')
-rwxr-xr-x | deployment/run.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deployment/run.sh b/deployment/run.sh index 1be2ef2..996b70e 100755 --- a/deployment/run.sh +++ b/deployment/run.sh @@ -1,10 +1,12 @@ #!/bin/bash -CONSUL_IP="localhost" +DATASTORE="consul" +DATASTORE_IP="localhost" + MOUNTPATH="/dkv_mount_path/configs/" DEFAULT_CONFIGS=$(pwd)/../mountpath/default # TODO(sshank): Change this to think from Kubernetes Volumes perspective. -docker run -e CONSUL_IP=$CONSUL_IP -e MOUNTPATH=$MOUNTPATH -it \ +docker run -e DATASTORE=$DATASTORE -e DATASTORE_IP=$DATASTORE_IP -e MOUNTPATH=$MOUNTPATH -it \ --name dkv \ -v $DEFAULT_CONFIGS:/dkv_mount_path/configs/default \ -p 8200:8200 -p 8080:8080 nexus3.onap.org:10003/onap/music/distributed-kv-store |