summaryrefslogtreecommitdiffstats
path: root/docker-compose/README.md
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2021-07-07 13:39:00 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-07 13:39:00 +0000
commitb72f69b466ccd0e8fa5be8baa94bea50651f16db (patch)
treea1bae8fed8d1349b8a966a71d0100786e5d7df4a /docker-compose/README.md
parentd32354171c15651c24b8e7f99c1164b75411489a (diff)
parentff52b94907002d2d2910567e1ad5f55e66008eb8 (diff)
Merge "Sending Data Updated Event to kafka"
Diffstat (limited to 'docker-compose/README.md')
-rw-r--r--docker-compose/README.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docker-compose/README.md b/docker-compose/README.md
index c172276ebe..3fe7f9940e 100644
--- a/docker-compose/README.md
+++ b/docker-compose/README.md
@@ -50,8 +50,13 @@ mvn clean install -P<docker-profile>
`docker-compose/docker-compose.yml` file is provided to be run with `docker-compose` tool and images previously built.
It starts both Postgres database and CPS services.
-1. Edit `docker-compose.yml` and uncomment desired service to be deployed, by default `cps-and-ncmp`
- is enabled. You can comment it and uncomment `cps-standalone` or `ncmp-standalone`.
+1. Edit `docker-compose.yml`
+ 1. uncomment desired service to be deployed, by default `cps-and-ncmp` is enabled. You can comment it and uncomment `cps-standalone` or `ncmp-standalone`.
+ 2. To send data-updated events to kafka,
+ * uncomment the `zookeeper` and `kafka` services.
+ * uncomment environment variables
+ * `notification.data-updated.enabled: 'true'`
+ * `KAFKA_BOOTSTRAP_SERVER: kafka:9092`
2. Execute following command from `docker-compose` folder:
Use one of the below version type that has been generated in the local system's docker image list after the build.
@@ -59,7 +64,7 @@ Use one of the below version type that has been generated in the local system's
VERSION=latest DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d
or
VERSION=<version> DB_USERNAME=cps DB_PASSWORD=cps docker-compose up -d
-```
+```
## Running or debugging Java built code