Increase DB timeout; rename props dir
[portal.git] / deliveries / docker-compose.yml
index 9fa1dd5..0c280a9 100644 (file)
@@ -5,7 +5,7 @@
 # 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'
+version: '2.1'
 
 services:
 
@@ -13,10 +13,9 @@ services:
     image: ${CLI_IMG_NAME}:${PORTAL_TAG}
     environment:
       CLI_MODE: 'daemon'
-    expose:
-      - 80
     ports:
       - 8080:80
+      - 9090:8080
     logging:
       driver: json-file
 
@@ -48,7 +47,7 @@ services:
     command:
       - /wait-for.sh
       - -t
-      - "180"
+      - "300"
       - portal-db:3306
       - --
       - /start-wms-cmd.sh
@@ -88,9 +87,12 @@ services:
     command:
       - /wait-for.sh
       - -t
-      - "180"
+      - "300"
       - portal-db:3306
       - --
       - /start-apps-cmd.sh
+      # see comments in .env file
+      - $EXTRA_HOST_IP
+      - $EXTRA_HOST_NAME
     logging:
       driver: json-file