summaryrefslogtreecommitdiffstats
path: root/deployment/run.sh
blob: 1be2ef29f24776cb8d9484b544e860bab8996f93 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

CONSUL_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 \
           --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