diff options
author | 2018-02-27 15:41:46 -0800 | |
---|---|---|
committer | 2018-03-07 13:40:18 -0800 | |
commit | 5031a4e20a281b7a94f8c3743b1572314c574ec4 (patch) | |
tree | 7072a5d16dc948b35b8a6a76764056c6e4bab003 /deployment/run.sh | |
parent | 67dd59385cf983ef1307e3b3e410a8f773d8a5c3 (diff) |
Add Docker building scripts and update swagger
This patch adds scripts to build Docker container and
updates swagger API doc.
Change-Id: Ifb10d483946112e38d716c9ae07995ffeb14d2d3
Issue-ID: MUSIC-41
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'deployment/run.sh')
-rw-r--r-- | deployment/run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/run.sh b/deployment/run.sh new file mode 100644 index 0000000..1aae1f6 --- /dev/null +++ b/deployment/run.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +CONSUL_IP="localhost" +MOUNTPATH="/configs" + +docker run -e CONSUL_IP=$CONSUL_IP -e MOUNTPATH=$MOUNTPATH -it --name dkv -p 8200:8200 -p 8080:8080 dkv |