diff options
author | Dan Timoney <dtimoney@att.com> | 2017-10-16 19:40:59 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-10-16 19:40:59 -0400 |
commit | c5ef5b5adcc222002fa99b90f14bce7a97afacff (patch) | |
tree | 71a640d540198c4cceab6eebf7ee09e7922c14a9 /installation | |
parent | dff2354e11c2cf2f5b7821d7c62fe3c7ca3aacf4 (diff) |
Add ueb-listener container
Add ueb-listener container to docker-compose.yml
Change-Id: Id0d71dd486a41927d290f51ab7c7533d149eb292
Issue-ID: SDNC-129
Signed-off-by: Dan Timoney <dtimoney@att.com>
Former-commit-id: e4a0c2981b814cc8de238cac0f488d49e46b2306
Diffstat (limited to 'installation')
-rw-r--r-- | installation/src/main/yaml/docker-compose.yml | 19 | ||||
-rw-r--r-- | installation/ueb-listener/src/main/scripts/start-ueb-listener.sh | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/installation/src/main/yaml/docker-compose.yml b/installation/src/main/yaml/docker-compose.yml index ba9bd32a..68d02878 100644 --- a/installation/src/main/yaml/docker-compose.yml +++ b/installation/src/main/yaml/docker-compose.yml @@ -100,3 +100,22 @@ services: max-file: "5" + ueblistener: + image: nexus3.onap.org:10001/onap/sdnc-ueb-listener-image:1.2-STAGING-latest + depends_on: + - db + container_name: sdnc_ueblistener_container + entrypoint: ["/opt/onap/sdnc/ueb-listener/bin/start-ueb-listener.sh" ] + links: + - db:dbhost + - db:sdnctldb01 + - db:sdnctldb02 + - sdnc:sdnhost + environment: + - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties + - PROPERTY_DIR=/opt/onap/sdnc/data/properties + logging: + driver: "json-file" + options: + max-size: "30m" + max-file: "5" diff --git a/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh b/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh index 64fb589f..65e33dce 100644 --- a/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh +++ b/installation/ueb-listener/src/main/scripts/start-ueb-listener.sh @@ -45,7 +45,7 @@ do done echo "Starting ueb-listener" -exec ${JAVA} ${JAVA_OPTS} -jar ${UEBLISTENERROOT}/lib/ueb-listener*.jar -Dlog4j.configuration=file:${UEBLISTENERROOT}/lib/log4j.properties -cp ${LISTENERCLASSPATH} +exec ${JAVA} ${JAVA_OPTS} -jar ${UEBLISTENERROOT}/lib/ueb-listener*.jar -Dlog4j.configuration=file:${PROPERTY_DIR}/log4j.properties -cp ${LISTENERCLASSPATH} |