aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-03-28 17:39:51 -0500
committerJorge Hernandez <jh1730@att.com>2018-03-28 20:06:59 -0500
commit9c002802128c1227e2dfd7f4a4a9530585a80d2d (patch)
treee9f28a7db2b882f10972bdd486bb7fb74bcede07
parent1145b1ecb4efd211d1e7ff4376056cb1cc421bbb (diff)
make drools and nexus containers restartable
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>
-rw-r--r--config/drools/base.conf2
-rw-r--r--docker-compose.yml6
2 files changed, 6 insertions, 2 deletions
diff --git a/config/drools/base.conf b/config/drools/base.conf
index 63546742..139a62d1 100644
--- a/config/drools/base.conf
+++ b/config/drools/base.conf
@@ -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
diff --git a/docker-compose.yml b/docker-compose.yml
index 282625ac..a104c8db 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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"