summaryrefslogtreecommitdiffstats
path: root/deployment/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/run.sh')
-rwxr-xr-xdeployment/run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/deployment/run.sh b/deployment/run.sh
index 2451ef9..1be2ef2 100755
--- a/deployment/run.sh
+++ b/deployment/run.sh
@@ -1,6 +1,10 @@
#!/bin/bash
CONSUL_IP="localhost"
-MOUNTPATH="/configs/"
+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 --name dkv -p 8200:8200 -p 8080:8080 dkv
+docker run -e CONSUL_IP=$CONSUL_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