Update license; improve coverage; add docs dir
[portal.git] / deliveries / docker-compose.yml
index ec8fd7b..d32a405 100644 (file)
@@ -1,7 +1,9 @@
 # docker-compose for ONAP portal containers: database, microservice, portal apps.
-# Only exposes the portal apps on host network, not the database or WMS.
-# Works in multiple environments; does not pull from a Nexus repository.
 # Relies on .env file in current directory.
+# Works in multiple environments; does not pull from a Nexus registry.
+# Exposes the portal apps docker (but not DB nor WMS dockers) on the host network.
+# Images must be pulled from ONAP Nexus registry after logging in like this:
+# docker login -u USER -p PASS nexus3.onap.org:10001
 
 version: '2.0'
 
@@ -10,7 +12,7 @@ services:
   cli:
     image: onap/cli:${PORTAL_TAG}
     environment:
-      MODE: 'deamon'
+      CLI_MODE: 'daemon'
     expose:
       - 80
     ports:
@@ -46,7 +48,7 @@ services:
     command:
       - /wait-for.sh
       - -t
-      - "60"
+      - "180"
       - portal-db:3306
       - --
       - /start-wms-cmd.sh
@@ -86,7 +88,7 @@ services:
     command:
       - /wait-for.sh
       - -t
-      - "60"
+      - "180"
       - portal-db:3306
       - --
       - /start-apps-cmd.sh