make drools and nexus containers restartable 87/39887/2
authorJorge Hernandez <jh1730@att.com>
Wed, 28 Mar 2018 22:39:51 +0000 (17:39 -0500)
committerJorge Hernandez <jh1730@att.com>
Thu, 29 Mar 2018 01:06:59 +0000 (20:06 -0500)
use dockerhub image for nexus instead of producing our
own.   9081 is exposed in the host.

Issue-ID: POLICY-575
Change-Id: Ia72303507aee071e0f12e9a77b3ce03bae8b3ed7
Signed-off-by: Jorge Hernandez <jh1730@att.com>
config/drools/base.conf
docker-compose.yml

index 6354674..139a62d 100644 (file)
@@ -22,7 +22,7 @@
 # SYSTEM software configuration
 
 POLICY_HOME=/opt/app/policy
-POLICY_LOGS=/var/log/ONAP/policy
+POLICY_LOGS=/var/log/onap/policy/pdpd
 JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
 KEYSTORE_PASSWD=Pol1cy_0nap
 
index 282625a..a104c8d 100644 (file)
@@ -16,9 +16,12 @@ services:
       ports:
        - "3306:3306"
    nexus:
-      image: onap/policy-nexus
+      image: sonatype/nexus
       container_name: nexus
       hostname: nexus
+      restart: always
+      ports:
+       - "9081:8081"
    pap:
       image: onap/policy-pe
       environment:
@@ -60,6 +63,7 @@ services:
        - mariadb
        - nexus
       hostname: drools
+      restart: always
       ports:
        - "6969:6969"
        - "9696:9696"