aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
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 /docker-compose.yml
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>
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml6
1 files changed, 5 insertions, 1 deletions
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"