aboutsummaryrefslogtreecommitdiffstats
path: root/workflow/README.md
diff options
context:
space:
mode:
authorVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-07-23 06:37:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-23 06:37:14 +0000
commit95ed34cc5b88a7b3a58da31724d5503b3b220cea (patch)
treee9fa733df69d6d6c994beb4f77cdb2f1fa32d153 /workflow/README.md
parent08c2c54d6ea09a95ad6241419946199dc6b4c5d0 (diff)
parent21dc9f49b2376a6b93976cd9a192d6e48e2733d9 (diff)
Merge "Workflow Docker containers"
Diffstat (limited to 'workflow/README.md')
-rw-r--r--workflow/README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/workflow/README.md b/workflow/README.md
index 40b4bbb2..2b6bcbce 100644
--- a/workflow/README.md
+++ b/workflow/README.md
@@ -2,13 +2,25 @@
## 1. Initialize Workflow Database
-`docker run -d -e CS_HOST={HOST} -e CS_PORT={PORT} -e CS_USER={USER} -e CS_PASSWORD={PASSWORD} {INIT_IMAGE}`
+`docker run -d -e CS_AUTHENTICATE={CS_AUTHENTICATE} -e CS_HOST={HOST} -e CS_PORT={PORT} -e CS_USER={USER}
+-e CS_PASSWORD={PASSWORD} {INIT_IMAGE}`
This is done only once to initialize the DB schema.
**Example**
-`docker run -d -e CS_HOST=10.247.41.19 -e CS_USER=test -e CS_PASSWORD=secret -e CS_PORT=9160 onap/workflow-init:latest`
+running docker with secured Cassandra DB
+
+`docker run -d -e CS_HOST=10.247.41.19 -e CS_AUTHENTICATE=true -e CS_USER=test -e CS_PASSWORD=secret -e CS_PORT=9160
+onap/workflow-init:latest`
+
+running docker with unsecured Cassandra DB
+
+`docker run -d -e CS_HOST=10.247.41.19 -e CS_AUTHENTICATE=false -e CS_PORT=9160 onap/workflow-init:latest`
+
+or
+
+`docker run -d -e CS_HOST=10.247.41.19 -e CS_PORT=9160 onap/workflow-init:latest`
## 2. Start Backend