1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2018 Intel Corporation, Inc
8 The Secret Managment Project is a subproject of AAF and will deployed via Helm on Kubernetes
11 .. code-block:: console
13 # Set Datastore as Consul
15 # Set IP address of where Consul is running
16 DATASTORE_IP="localhost"
17 # Set mountpath inside the container where persistent data is stored.
18 MOUNTPATH="/dkv_mount_path/configs/"
19 # Place all Config data which needs to be loaded in default directory.
20 DEFAULT_CONFIGS=$(pwd)/mountpath/default
21 # Create the directories.
22 mkdir -p mountpath/default
24 docker login -u docker -p docker nexus3.onap.org:10001
25 # Pull distributed-kv-store image.
26 docker pull nexus3.onap.org:10001/onap/music/distributed-kv-store
27 # Run the distributed-kv-store image.
28 docker run -e DATASTORE=$DATASTORE -e DATASTORE_IP=$DATASTORE_IP -e MOUNTPATH=$MOUNTPATH -d \
30 -v $DEFAULT_CONFIGS:/dkv_mount_path/configs/default \
31 -p 8200:8200 -p 8080:8080 nexus3.onap.org:10001/onap/music/distributed-kv-store